I'm setting up Visual Studio Code to write and learn C#.
I'm not able to find and use the latest version of C# compiler with Visual Studio Code.
Enquiring enquiring my compiler version with the Visual Studio Code terminal command csc -langversion:?…
I created a program that works well on my computer(s) and normally also on other computers.
However there is one person which is having a problem when run it and I really don't understand why, the Stacktrace…
This question refers specifically to CSC, not msbuild. I can not use msbuild for my project.
If I am using csc.exe from a .net5 SDK, can I use it to compile source code and enforce conformance to .net standard 2.0? As in, can I invoke csc.exe so…
I have a .net core 5.0 solution. I would like to ensure that the files were not modified between the source code check out and a compilation step on a build machine. I don't want to re-invent a wheel but couldn't find an existing solution. There's a…
I just updated my VS2019 community edition to Version 16.7.2. My project started failing to build (maybe link step?) with this error (it was previously building just fine, I think on v16.6.something):
> Severity Code Description Project File …
I have a console application that uses an app.config file however I can't figure out how to include that in the command line parameters so that the output will create the Program.exe.config when I compile it programmatically with fsc.exe. Right now…
I've downloaded a copy of Roslyn using nuget.exe into a empty directory on my computer. I've then created a few small test files in C# to play with the compiler. In my code, I'm using features from the .NET Framework such as SqlDataReader. When…
I have added a custom compiler in the build step for my Visual Studio 2017 project using amy_compiler.exe tag in the csproj file. Everything is working great, except that I can't figure out how to make the compiler properly…
I'm just learning C# so I don't know if I'm just messing up the setup or what, but I used dotnet to create a new project where I'm keeping ALL of my little test scripts. I'm using VS Code as my editor. I create a path variable for csc to compile.
I…
I'm trying to run csc.exe (the C# compiler) from within an AppDomain created from my executable. However, what I'm seeing is that any argument passed to my executable also seems to be passed to csc.exe, even though I'm not providing any…
in visual studio i'm working with asp.net core i have created a new MVC Project but when i tried to run it on IIS Express it gives error CSC.exe has stopped working
it shows this error when i click close this program then this error
i have tried…
We have an issue where the editors in Sitecore experience trouble with change language in the Content Editor.
This happens because a compiled dll was not found.
Exception: System.IO.FileNotFoundException
Message: Could not find file…
Right now, I am calling K = sparse(I,J,V,n,n) function to create sparse (symmetric) K matrix in Julia. And, I am doing this for many steps.
Due to memory and efficiency considerations, I would like to modify the K.nzval values, instead of creating…
I'm wondering, why doesn't my splash screen disappear after x seconds in the code below? In C#, I start a thread, that waits x seconds, then tries to dispatch a close() to the splash window while its being shown on the screen.
// FILE:…