C
C#5w ago
rocco

✅ vs code community don't start my code

does anyone know how to fix visual studio code community that won't open my project? When I click on the run button it tells me everything was successful but in reality nothing opens, i am doing a Windows forms app and i am new with c# and vs code community
39 Replies
Angius
Angius5w ago
Just to make it clear: there's no such thing as VS Code Community There's VS Code, and there's VS Community Or, to be more precise, Visual Studio Code and Visual Studio 2022 Community
rocco
rocco5w ago
i am using 2022 community
Buddy
Buddy5w ago
Then it's just VS Microsoft arent the best at naming their things
rocco
rocco5w ago
yeah but how i fix the problem😭
Buddy
Buddy5w ago
Please share a screenshot of your entire VS window $screenshot
MODiX
MODiX5w ago
If you want to share code, please copy and paste the code into a markdown code block in your discord post, or paste the code into https://paste.mod.gg/ and share a link to it in your discord post. If want to share a screenshot, please do not take a photo of your computer screen with your phone or camera. Instead see https://www.take-a-screenshot.org/ for how to take a screen capture on your device. You may want to crop the image before pasting it into your discord message.
rocco
rocco5w ago
No description
Buddy
Buddy5w ago
Please show Program.cs code
rocco
rocco5w ago
too long, however I'm using a backup of the code from when it was working and it doesn't start anymore anyway
Angius
Angius5w ago
$paste
MODiX
MODiX5w ago
If your code is too long, you can post to https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code!
rocco
rocco5w ago
the code is not the problem, i can't start any code, i tried other things too or github things but it don't styartanything
Buddy
Buddy5w ago
What program are you making?
rocco
rocco5w ago
a gui with Windows forms app
Unknown User
Unknown User5w ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX5w ago
When creating a new project, prefer using .NET over .NET Framework, unless you have a very specific reason to be using .NET Framework. .NET Framework is now legacy code and only get security fix updates, it no longer gets new features and is not recommended. https://cdn.discordapp.com/attachments/569261465463160900/899381236617855016/unknown.png
Unknown User
Unknown User5w ago
Message Not Public
Sign In & Join Server To View
rocco
rocco5w ago
thanks, i will try
Unknown User
Unknown User5w ago
Message Not Public
Sign In & Join Server To View
Bailey
Bailey5w ago
Maybe this can help: If it worked in the past. put some breakpoints in the method: public static void Main() if main does not exist, then it wont start. If the main starts, you can track where it exits
rocco
rocco5w ago
no the hwid things Is for the auth
Unknown User
Unknown User5w ago
Message Not Public
Sign In & Join Server To View
rocco
rocco5w ago
I'm using keyauth + some more custom security
Buddy
Buddy5w ago
What is worth protecting so hard?
rocco
rocco5w ago
It's been cracked too many times already
Buddy
Buddy5w ago
It is?
rocco
rocco5w ago
I don't want it to get cracked again
Buddy
Buddy5w ago
I mean what does the program do? If it gets cracked all the time, seems to be important
rocco
rocco5w ago
new PC optimizer, nothing too important for now it's not even known but I have some old acquaintances who want to bother me for no reason
viceroypenguin
it's been at least 10 years since i've seen a pc optimizer that did anything valuable in the first place. there are plenty of oss ones anyway. are you selling this optimizer? if so, how are these "old acquaintances" getting it in the first place? are they paying you for the optimizer, and then cracking it?
rocco
rocco5w ago
i am not making It for me or for selling It, i am making It for my friend, but the pp Who crack It don't want me to do anything for some reason
viceroypenguin
if you're making it for your friend, why do you care whether it gets cracked? also, why are you using C# if you're that concerned - use a compiled language if you're that concerned
Buddy
Buddy5w ago
Also, those checks are super easy to bypass. It's a simple if-statement reversal.
rocco
rocco5w ago
my friend Is paying me for make It difficult to crack
viceroypenguin
why does your friend care, then?
Buddy
Buddy5w ago
Buddy
Buddy5w ago
It's as simple as that
rocco
rocco5w ago
I don't know the one in the screenshot was a random project, I'm trying to make vs work again, because I can't open the code of any project
Unknown User
Unknown User5w ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server