You can control port value via the environment variable 'CSS_BUILDSERVER_ROSLYN_PORT' NET toolset.ĬS-Script communicates with cscs build server via socket (default port 17002). The compilation is performed in the separate child process cscs (another instance of script engine) which is somewhat equivalent of VBCSCompiler.exe (build server) from. Though it does have limitations (see documentation). Roslyn - .dll compiler this is the most portable compilation engine. Though in this case all the performance benefits of -ng:csc will be lost and then you are better off using -ng:dotnet instead. This option convenient when socket communication is undesirable for whatever reason. NET csc.exe will be called directly instead. Value csc-inproc will suppress spinning off an build server process and. You can control port value via the environment variable 'CSS_BUILDSERVER_CSC_PORT' NET SDK to be installed on the target system.ĬS-Script communicates with build.exe build server via socket (default port 17001). The compilation is performed in the separate child process build.exe which is somewhat equivalent to VBCSCompiler.exe (build server) from. It is not suitable for WPF scripts as csc.exe cannot compile XAML. NET SDK to be installed on the target system.Ĭsc - csc.exe compiler the fastest compiler available. NET engines.ĭotnet - dotnet.exe compiler this is the most versatile compilation engine though it does have a startup overhead when running the script for the first time. Or -co:/platform:x86 to produce Win32 executable)įorces compilation to be done by one of the supported. co:/d:TRACE pass /d:TRACE option to C# compiler Passes compiler options directly to the language compiler. Trim - removes all abandoned cache items. The path to the Visual Studio Code executable (code.exe) needs to be defined in the environment variable CSSCRIPT_VSCODEEXE. NET project file and opens it in Visual Studio Code. You can let CS-Script to detect installed Visual Studio executable and interactively select the detected executable for integrating it with CS-Script by using -vs:init option.Īlternatively, you can even ask to integrate the first detected executable with: The path to the Visual Studio executable (devenv.exe) needs to be defined in the environment variable CSSCRIPT_VSEXE. NET project file and opens it in Visual Studio. Shows script 'project info' - script and all its dependencies. script.cs.dll).Ĭompiles script file into assembly (.dll) in the script folder without execution.Ĭhecks script for errors without execution. c:0 - disable caching (which might be enabled globally)Ĭompiles script file into cache file (e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |