C
C#3mo 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
Angius3mo 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
roccoOP3mo ago
i am using 2022 community
Buddy
Buddy3mo ago
Then it's just VS Microsoft arent the best at naming their things
rocco
roccoOP3mo ago
yeah but how i fix the problem😭
Buddy
Buddy3mo ago
Please share a screenshot of your entire VS window $screenshot
MODiX
MODiX3mo 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
roccoOP3mo ago
No description
Buddy
Buddy3mo ago
Please show Program.cs code
rocco
roccoOP3mo 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
Angius3mo ago
$paste
MODiX
MODiX3mo 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
roccoOP3mo 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
Buddy3mo ago
What program are you making?
rocco
roccoOP3mo ago
a gui with Windows forms app
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX3mo 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 User3mo ago
Message Not Public
Sign In & Join Server To View
rocco
roccoOP3mo ago
thanks, i will try
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
Bailey
Bailey3mo 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
roccoOP3mo ago
no the hwid things Is for the auth
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
rocco
roccoOP3mo ago
I'm using keyauth + some more custom security
Buddy
Buddy3mo ago
What is worth protecting so hard?
rocco
roccoOP3mo ago
It's been cracked too many times already
Buddy
Buddy3mo ago
It is?
rocco
roccoOP3mo ago
I don't want it to get cracked again
Buddy
Buddy3mo ago
I mean what does the program do? If it gets cracked all the time, seems to be important
rocco
roccoOP3mo 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
viceroypenguin3mo ago
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
roccoOP3mo 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
viceroypenguin3mo ago
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
Buddy3mo ago
Also, those checks are super easy to bypass. It's a simple if-statement reversal.
rocco
roccoOP3mo ago
my friend Is paying me for make It difficult to crack
viceroypenguin
viceroypenguin3mo ago
why does your friend care, then?
Buddy
Buddy3mo ago
Buddy
Buddy3mo ago
It's as simple as that
rocco
roccoOP3mo 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 User3mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server