![]() |
|
[C#] Visual Studio Compiling Errors (Persistent) - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] Visual Studio Compiling Errors (Persistent) (/showthread.php?tid=6093395) |
Visual Studio Compiling Errors (Persistent) - draxyee - Jul 8, 2020 Hi guys, When I compile my program, the project that's attached to it always generates errors. After compiling again, the errors go away and I can start the program. Sometimes it won't let me compile until I've cleaned the project, and compiled it twice, it's a really weird process. Anyone have any clue why this might be happening to me? ![]() Best, Draxyee RE: Visual Studio Compiling Errors (Persistent) - HFDone - Jul 8, 2020 which version of visual studio, framework and which project ? RE: Visual Studio Compiling Errors (Persistent) - __Digital__ - Jul 8, 2020 (Jul 8, 2020 08:20 AM)draxyee Wrote: Hi guys, Just add the reference to system.net and you will be fine RE: Visual Studio Compiling Errors (Persistent) - draxyee - Jul 8, 2020 (Jul 8, 2020 08:57 AM)HFDone Wrote: which version of visual studio, framework and which project ? .NET framework 4.8 The other project uses this:
RE: Visual Studio Compiling Errors (Persistent) - iolaka - Jul 8, 2020 Code using System.Net;RE: Visual Studio Compiling Errors (Persistent) - draxyee - Jul 9, 2020 (Jul 8, 2020 01:07 PM)iolaka Wrote: Trolling or didn't read thread? Anyways, for anyone who's curious, I fixed it! Just had to change x64 debug to Any CPU and it was all fixed :) RE: Visual Studio Compiling Errors (Persistent) - draxyee - Jul 11, 2020 Nevermind, it came back, even on Any CPU. Anyone have any ideas? RE: Visual Studio Compiling Errors (Persistent) - HFDone - Jul 11, 2020 add reference to System.dll and System.Net.dll to your project https://i.stack.imgur.com/XVEoQ.png https://i.stack.imgur.com/DZBYJ.jpg |