Questions tagged [csc]

Csc.exe is the command-line compiler for C# from Microsoft.

Csc.exe is the command-line compiler for C# from Microsoft.

301 questions
1
vote
0 answers

Span<> with csc on the command line

I have this project which works under GNU/Linux, both with dotnet-sdk-5.0 and (with some #if) even with Mono. Now I try to run it on Windows®, and nmake win ends with… csc -nologo -t:library -out:ecn-bitn.dll unmngd.cs…
mirabilos
  • 5,123
  • 2
  • 46
  • 72
1
vote
0 answers

Dropdowns are in disable state in csc picker flutter

When added boxdecorations the state and place dropdowns are in disable state. In enter link description here in flutter but when using default decoration everything works fine
Phanindra
  • 1,110
  • 2
  • 11
  • 24
1
vote
2 answers

Determining the CLR System Directory

The MSDN article on the C# command-line compiler /lib switch specifies the following:- The compiler searches for assembly references that are not fully qualified in the following order: Current working directory. This is the directory from which…
ljs
  • 37,275
  • 36
  • 106
  • 124
1
vote
1 answer

Is generating .pdb files for third-party dlls helping with source-stepping during debugging if IgnoreSymbolStoreSequencePoints flag is set?

Background to my question: I have a third-party library which I want to debug, it has IgnoreSymbolStoreSequencePoints flag for the DebuggableAttribute. It can be assumed that there were compile-time code optimizations, i.e. /optimize and the…
tinmanjk
  • 301
  • 1
  • 9
1
vote
1 answer

CMake no CSharp compiler can be found inside docker image

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 in C#. Storically the projects were all managed by hand but I'm in the process of migrating to CMake…
zeb
  • 1,105
  • 2
  • 9
  • 32
1
vote
1 answer

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: