✅ 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
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
i am using 2022 community
Then it's just VS
Microsoft arent the best at naming their things
yeah but how i fix the problem😭
Please share a screenshot of your entire VS window
$screenshot
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.
Please show Program.cs code
too long, however I'm using a backup of the code from when it was working and it doesn't start anymore anyway
$paste
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!
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
What program are you making?
a gui with Windows forms app
Unknown User•5w ago
Message Not Public
Sign In & Join Server To View
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•5w ago
Message Not Public
Sign In & Join Server To View
thanks, i will try
Unknown User•5w ago
Message Not Public
Sign In & Join Server To View
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
no
the hwid things Is for the auth
Unknown User•5w ago
Message Not Public
Sign In & Join Server To View
I'm using keyauth + some more custom security
What is worth protecting so hard?
It's been cracked too many times already
It is?
I don't want it to get cracked again
I mean what does the program do?
If it gets cracked all the time, seems to be important
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
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?
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
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
Also, those checks are super easy to bypass. It's a simple if-statement reversal.
my friend Is paying me for make It difficult to crack
why does your friend care, then?
It's as simple as that
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•5w ago
Message Not Public
Sign In & Join Server To View