C
C#15mo ago
B-Rat

❔ I am utterly confused

I don't know anymore
48 Replies
JakenVeina
JakenVeina15mo ago
seems like the file you're looking at and the file it's intellisensing on aren't the same
B-Rat
B-RatOP15mo ago
wot
Buddy
Buddy15mo ago
Don't use VSCode if you want to keep yourself sane Terrible bugs Prefer Visual Studio 2022 Also, VSCode sucks for anything GUI Except maybe Avalonia
B-Rat
B-RatOP15mo ago
Funny thing My pc can’t run vs
Buddy
Buddy15mo ago
Too old or just not Windows?
B-Rat
B-RatOP15mo ago
too old the thing doesn't even have a gpu
B-Rat
B-RatOP15mo ago
Buddy
Buddy15mo ago
Ouchie
B-Rat
B-RatOP15mo ago
peak computer performance
Buddy
Buddy15mo ago
I recommend TreeSize to free memory
B-Rat
B-RatOP15mo ago
?
Buddy
Buddy15mo ago
I mean you don't really need a flashy GPU, just a decent internal GPU. As you have very little disk space available.
JakenVeina
JakenVeina15mo ago
alternatively, WinDirStat
B-Rat
B-RatOP15mo ago
like downloading extra ram?
Buddy
Buddy15mo ago
No, as in freeing disk space.
B-Rat
B-RatOP15mo ago
that's hella bulky winTree
Buddy
Buddy15mo ago
Treesize is around 80mb Actually, maybe 8MB
B-Rat
B-RatOP15mo ago
wizTree* is best at least I think
JakenVeina
JakenVeina15mo ago
WinDirStat is less than 1MB
B-Rat
B-RatOP15mo ago
takes 10 years to load
JakenVeina
JakenVeina15mo ago
yes, that's how hard drive crawling works
B-Rat
B-RatOP15mo ago
anyways what's wrong with my code
JakenVeina
JakenVeina15mo ago
seems like the file you're looking at and the file it's intellisensing on aren't the same
B-Rat
B-RatOP15mo ago
let me take a few minutes to process that (I do js, no hurt me ples) ok I did not understand that uhh so do I just copy paste the code here
JakenVeina
JakenVeina15mo ago
you can $code
MODiX
MODiX15mo ago
To post C# code type the following: ```cs // code here ``` Get an example by typing $codegif in chat If your code is too long, post it to: https://paste.mod.gg/
B-Rat
B-RatOP15mo ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace discord;

public static class General
{
public static void Main(string[] args)
{

}
public class Canvas{

}

public class Discord
{
public string? token { get; set; }
public object initial_payload = new
{
op = 2,
d = new
{
token = "token",
intents = 33283,
properties = new
{
os = "windows",
browser = "firefox",
device = "firefox"
}
}
};
public static void heartheat()
{

}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace discord;

public static class General
{
public static void Main(string[] args)
{

}
public class Canvas{

}

public class Discord
{
public string? token { get; set; }
public object initial_payload = new
{
op = 2,
d = new
{
token = "token",
intents = 33283,
properties = new
{
os = "windows",
browser = "firefox",
device = "firefox"
}
}
};
public static void heartheat()
{

}
}
}
B-Rat
B-RatOP15mo ago
I'm uhh learning c# in the file to do uhh discord net later
JakenVeina
JakenVeina15mo ago
k
B-Rat
B-RatOP15mo ago
is this enough context? or should I more
JakenVeina
JakenVeina15mo ago
for what?
B-Rat
B-RatOP15mo ago
like fixing the uhh the canvas thingy
JakenVeina
JakenVeina15mo ago
fixing what?
B-Rat
B-RatOP15mo ago
The type or namespace name 'Controls' does not exist in the namespace 'System.Windows' (are you missing an assembl
JakenVeina
JakenVeina15mo ago
where does that error occur?
B-Rat
B-RatOP15mo ago
JakenVeina
JakenVeina15mo ago
you're missing an assembly reference that namespace lives in PresentationFramework.dll
B-Rat
B-RatOP15mo ago
mhm
JakenVeina
JakenVeina15mo ago
which is referenced by Microsoft.NET.Sdk when UseWPF is true, all within your project definition
B-Rat
B-RatOP15mo ago
damn I am utterly confused, do you have something that I could read about to no confuse
JakenVeina
JakenVeina15mo ago
ignore the parts about VS specifically, and use the command line to generate the initial project, from the template
B-Rat
B-RatOP15mo ago
👍
Angius
Angius15mo ago
WizTree is near-instant
Accord
Accord15mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server