csc
Running the C# compiler from a C# program
I am trying to build a C# program that converts a different language into C# code. I have the program working fine, converting the code and writing it to a .cs file. I want to have this file automatic[详细]
2023-04-12 07:15 分类:问答C# compiler does not find dlls ; solution compiled in VS2010
I have a C# solution and some referenced dll-s. Even though when compiling in visual studio(vs2010) it appears as it succeeded, when using the C# compiler it fails: missing dll apparently..[详细]
2023-04-08 08:56 分类:问答C# extern alias
I have two assemblies with the exact same interface (lets call them Assem1 and Assem2) Is it possible to use extern alias in order to call methods of Assem1 from Assem2?[详细]
2023-04-06 05:33 分类:问答"Proper" way to find path to C# compiler? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Dupl开发者_Go百科icate: C# - How to get csc.exe path?[详细]
2023-04-01 20:40 分类:问答How to generate IL source code with csc (C# compiler) or dmcs (mono C# compiler)?
gcc has an option of -s to generate assembly source code. Does csc (MS C# compiler) or dmcs (mono C# compiler) have equivalence? I mean do those compilers provide an option to generate IL source code[详细]
2023-04-01 01:26 分类:问答Why is the .ctor() created when I compile C# code into IL?
With this simple C# code, I run csc hello.cs; ildasm /out=hello.txt hello.exe. class Hello { public static void Main()[详细]
2023-03-31 19:25 分类:问答How to get csc.exe path?
Is there a way to get path for the latest .NET Framework\'s csc.exe? The file usually in: c:\\Windows\\Microsoft.NET\\Framework\\vX.X.XXX but the problem is there can be multiple 开发者_开发问答versi[详细]
2023-03-19 08:42 分类:问答Build with nant and reference libraries in subdirectories
I\'m creating bild-file for a project containing several 3rd-party libraries located inside a lib-folder. So my build-script looks like this:[详细]
2023-03-14 09:11 分类:问答How to include app.config file with fsc.exe (F#) or csc.exe (C#)?
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 co[详细]
2023-03-07 11:19 分类:问答Where is the .NET command line compiler?
Where is the .NET command line compiler (csc.exe) located after install? I\'m trying to set up my path to compile C# applications from the command line, but I can\'t find where csc.exe has been insta[详细]
2023-02-26 20:00 分类:问答