how to execute C# file - Stack Overflow There is this C#-Script project that enables you to run cs files as a script (vbs-style) It seemed to me that you just want to execute that single file, so C#-Script should do it without the need to learn any compilings
Cannot find . cs files for debugging . NET source code Well, in my case I was not trying to debug the Net framework, but I was getting the same error: Cannot find cs files for debugging NET source code So I had to turn on the "Enable just my code" option under: Tools -> Options -> Debugging -> General -> Enable just my Code Per MS docs: You can configure Visual Studio to automatically step over system, framework, and other non-user calls and