C
C#2y ago
B-Rat

❔ I am utterly confused

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