To build our application, we have a structure of several MSBuild proj files, which currently compile libraries on .NET Framework. Now we want to move ...
To build our application, we have a structure of several MSBuild proj files, which currently compile libraries on .NET Framework. Now we want to move ...
I have built a dll with csc.exe by using: From the powershell console I run it with: However when an exception occurs it just quits and prints n ...
Very new to programming here. I am going through 'C# 8.0 and .NET Core 3.0 book'. I tried to check which versions of the C# compiler are available, bu ...
I have a project written in .net 4.8 and I'm able to successfully build it with msbuild but I don't know what I'm supposed to do after this, I see the ...
I accidentally deleted the auto generated main entry point of my project. The problem is that I did not realised that and saved the changes and exit d ...
I have a class library I use for an assembly. It is comprised of three classes - classes A and B provide supporting types and methods for class C. Aft ...
== compile command == == exec command == == exec result : dependency error == "Newtonsoft.Json.dll" this file is located in parent path. so I ...
According to the documentation of scipy.sparse.csr_matrix, there are many ways to create a csr_matrix. One of the ways is to give data, indptr, and in ...
I am starting with C#. I just was playing around with the language, so I created a simple main.cs file with a main method. Also, I created a Class C ...
This is the case: I compiled C#, using csc in Linux. I used Newtonsoft.Json.Linq.JArray in Newtonsoft.Json, and tested the use of JArray.Parse(string) ...
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. Enq ...
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 ...
I'm trying to build a docker image to setup CI/CD for a project of my organization. The project is mostly Windows C++ (MFC), but has some components i ...
In C# you can define compile-time constants that may be checked to configure compilation #define MY_CONST #if MY_CONST ... #else ... #endif ...
Currently I'm trying to use sas to connect to sftp server. I did some researches, it said in order to use sftp method, I need to install openSSH clien ...
I would like to compile a simple console application which uses a reference from a .dll to learn how basic dynamic linking in csharp works. The main f ...
Got this error while building solution on CI server using VS2019 - 16.7.4 Any idea from where it could come from ? It doesn't happen all the time and ...
I am creating windows using Method1 Method 2 Which is appropriate while writing c# code. Differentiate both please. ...
I have a folder with several csv-files in it. I have to change the filename of every file with a string that I find in the file. So I tried the script ...
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 previousl ...