Broken Toaster
Broken Toaster
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ VS is trying to put my whole user folder on github
i am not gonna question it
14 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ VS is trying to put my whole user folder on github
hold on it suddenly works
14 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ VS is trying to put my whole user folder on github
i just found out that this applies to all VS projects ;-;
14 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ VS is trying to put my whole user folder on github
@Jimmacle sorry for ping - it gave me an error and idk what to do with it, why did it search for that file?
14 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ VS is trying to put my whole user folder on github
-Me- ~/source/repos/BeatBoothGame (master)
$ git add .
error: open(".vs/BeatBoothGame/FileContentIndex/34fbd019-db06-418e-ad82-ad50e77fffe6.vsidx"): Permission denied
error: unable to index file '.vs/BeatBoothGame/FileContentIndex/34fbd019-db06-418e-ad82-ad50e77fffe6.vsidx'
fatal: adding files failed
-Me- ~/source/repos/BeatBoothGame (master)
$ git add .
error: open(".vs/BeatBoothGame/FileContentIndex/34fbd019-db06-418e-ad82-ad50e77fffe6.vsidx"): Permission denied
error: unable to index file '.vs/BeatBoothGame/FileContentIndex/34fbd019-db06-418e-ad82-ad50e77fffe6.vsidx'
fatal: adding files failed
14 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ VS is trying to put my whole user folder on github
i mean i have git but i never set it up for this project
14 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
Thx for the help
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
I figured it all out
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
EnginePage doesn't have xml, i assumed from the StackOverflow that it didn't need one.
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
ERROR: Name EnginePage doesn't exist in clr-namespace:BeatBooth.pages - XDG0008
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
ok
namespace BeatBooth.pages
{
/// <summary>
/// Interakční logika pro EnginePage.xaml
/// </summary>
public class EnginePage : UserControl
{
int number = 8;
}
}
namespace BeatBooth.pages
{
/// <summary>
/// Interakční logika pro EnginePage.xaml
/// </summary>
public class EnginePage : UserControl
{
int number = 8;
}
}
<local:EnginePage
x:Class="BeatBooth.pages.GameMainMenu"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:BeatBooth.pages"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"/>
<local:EnginePage
x:Class="BeatBooth.pages.GameMainMenu"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:BeatBooth.pages"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"/>
namespace BeatBooth.pages
{
/// <summary>
/// Interakční logika pro GameMainMenu.xaml
/// </summary>
public partial class GameMainMenu : EnginePage
{
public GameMainMenu()
{
InitializeComponent();
}
}
}
namespace BeatBooth.pages
{
/// <summary>
/// Interakční logika pro GameMainMenu.xaml
/// </summary>
public partial class GameMainMenu : EnginePage
{
public GameMainMenu()
{
InitializeComponent();
}
}
}
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
i mean i didn't change anything... except namespaces and class name when renaming stuff but i checked multiple times that it was correct.
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
oh...
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
but i'll propably just do a custom XML element with UserControl
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
here, top message
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
I've tried so many things from now, i believe... yup, i deleted the files to start fresh cuz the code is already scatered acros multiple discord convos and ChatGPT chats...
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
oh my god
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
To explain what i'm tryna do - I have a window in which i'll have a game. In this window theres a <Frame/> and i want my own Page class, lets say EnginePage, that inherits from Page cuz it's it's extention. From EnginePage all the other pages inherit. There won't be a EnginePage object, so it's abstract. I want to control the change of pages more "strongly", so a static SwitchPage<T>() function is implemented. I want to allow the pages to have functions that activate when opened and closed, so public abstract void Open() and Close()
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
I feel like i might be doing this all wrong or idk
37 replies
CC#
Created by Broken Toaster on 5/24/2024 in #help
✅ Need help making classes
.
37 replies