C
C#2w ago
AdriJuxaS

Access is denied problem

I have a problem. When i'm trying to run my c# code (with or without debbuging in visual studio 2022 it shows me "Access is denied"... I tried almost everything i can find to fix it but nothing worked please help...
22 Replies
Marvin
Marvin2w ago
does it say that before even running? or is it actually about a portion of a code where the error occurs?
AdriJuxaS
AdriJuxaS2w ago
No description
AdriJuxaS
AdriJuxaS2w ago
after running the code and it shows in a console or if u start debbuging it creates a popup
Buddy
Buddy2w ago
$details
MODiX
MODiX2w ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, what you expect the result to be, what .NET version you are using and what platform/environment (if any) are relevant to your question. Upload code here https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code! (see $code for more information on how to paste your code)
Buddy
Buddy2w ago
specifically the code part
AdriJuxaS
AdriJuxaS2w ago
You need photo of actual code?
Marvin
Marvin2w ago
it could defnitely hlep
AdriJuxaS
AdriJuxaS2w ago
No description
AdriJuxaS
AdriJuxaS2w ago
here you go but i dont think the problem is in code something denies access to running it or something
Marvin
Marvin2w ago
ur correct its not the code, but then i cant help you, someone else gotta jump in, have u tried running vs as admin?
AdriJuxaS
AdriJuxaS2w ago
ye i tried that nothing
Marvin
Marvin2w ago
building and running the exe itself does that work?
AdriJuxaS
AdriJuxaS2w ago
like the vs exe?
Marvin
Marvin2w ago
no no if you right click on the project in vs and rebuild, you can go to the bin folder and locate the exe that was built just wanna know if you can build in general
Want results from more Discord servers?
Add your server