C
C#17mo ago
B-Rat

❔ I am utterly confused

I don't know anymore
48 Replies
JakenVeina
JakenVeina17mo ago
seems like the file you're looking at and the file it's intellisensing on aren't the same
B-Rat
B-RatOP17mo ago
wot
Buddy
Buddy17mo 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-RatOP17mo ago
Funny thing My pc can’t run vs
Buddy
Buddy17mo ago
Too old or just not Windows?
B-Rat
B-RatOP17mo ago
too old the thing doesn't even have a gpu
B-Rat
B-RatOP17mo ago
Buddy
Buddy17mo ago
Ouchie
B-Rat
B-RatOP17mo ago
peak computer performance
Buddy
Buddy17mo ago
I recommend TreeSize to free memory
B-Rat
B-RatOP17mo ago
?
Buddy
Buddy17mo 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
JakenVeina17mo ago
alternatively, WinDirStat
B-Rat
B-RatOP17mo ago
like downloading extra ram?
Buddy
Buddy17mo ago
No, as in freeing disk space.
B-Rat
B-RatOP17mo ago
that's hella bulky winTree
Buddy
Buddy17mo ago
Treesize is around 80mb Actually, maybe 8MB
B-Rat
B-RatOP17mo ago
wizTree* is best at least I think
JakenVeina
JakenVeina17mo ago
WinDirStat is less than 1MB
B-Rat
B-RatOP17mo ago
takes 10 years to load
JakenVeina
JakenVeina17mo ago
yes, that's how hard drive crawling works
B-Rat
B-RatOP17mo ago
anyways what's wrong with my code
JakenVeina
JakenVeina17mo ago
seems like the file you're looking at and the file it's intellisensing on aren't the same
B-Rat
B-RatOP17mo 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
JakenVeina17mo ago
you can $code
MODiX
MODiX17mo 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-RatOP17mo 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-RatOP17mo ago
I'm uhh learning c# in the file to do uhh discord net later
JakenVeina
JakenVeina17mo ago
k
B-Rat
B-RatOP17mo ago
is this enough context? or should I more
JakenVeina
JakenVeina17mo ago
for what?
B-Rat
B-RatOP17mo ago
like fixing the uhh the canvas thingy
JakenVeina
JakenVeina17mo ago
fixing what?
B-Rat
B-RatOP17mo ago
The type or namespace name 'Controls' does not exist in the namespace 'System.Windows' (are you missing an assembl
JakenVeina
JakenVeina17mo ago
where does that error occur?
B-Rat
B-RatOP17mo ago
JakenVeina
JakenVeina17mo ago
you're missing an assembly reference that namespace lives in PresentationFramework.dll
B-Rat
B-RatOP17mo ago
mhm
JakenVeina
JakenVeina17mo ago
which is referenced by Microsoft.NET.Sdk when UseWPF is true, all within your project definition
B-Rat
B-RatOP17mo ago
damn I am utterly confused, do you have something that I could read about to no confuse
JakenVeina
JakenVeina17mo ago
ignore the parts about VS specifically, and use the command line to generate the initial project, from the template
B-Rat
B-RatOP17mo ago
👍
Angius
Angius17mo ago
WizTree is near-instant
Accord
Accord17mo 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.

Did you find this page helpful?