提交 a46f000a 编写于 作者: A Andy Gocke

Fix the docs for building and running CoreCLR csc

上级 162e6178
Building CoreCLR Csc & Vbc
=================================================
The compiler projects included in all the solution files currently target only
the desktop framework. If you want to build a version of each exe compatible
with CoreCLR, there are two separate projects:
* [CscCore](../../src/Compilers/CSharp/CscCore/CscCore.csproj)
* [VbcCore](../../src/Compilers/VisualBasic/VbcCore/VbcCore.csproj)
First, build Roslyn.sln as described in https://github.com/dotnet/roslyn/wiki/Building-Testing-and-Debugging.
To build these projects, first execute `powershell .nuget\NuGetRestore.ps1`
from the root of your clone to restore NuGet packages, and then execute `msbuild`
on the command line with the path to each of the projects.
When you build CscCore or VbcCore the binaries will be output to the core-clr
subdirectory in the output directory. However, by default the executables will
still run on the desktop runtime. To run on the CoreCLR console host, run the
powershell script
The Core CLR-compatible csc.exe and vbc.exe willl be placed in the core-clr subdirectory in the output directory. However, by default the executables will still run on the desktop runtime. To run on the CoreCLR console host, run the powershell script
[src/Tools/CopyCoreClrRuntime/CopyCoreClrRuntime.ps1](../../src/Tools/CopyCoreClrRuntime/CopyCoreClrRuntime.ps1)
with the path to the output directory as the parameter.
......@@ -24,5 +13,5 @@ If you then wish to dogfood the CoreCLR copmilers while developing Roslyn then s
the BootstrapBuildPath environment variable (or at the MSBuild command line) to
point to the core-clr directory.
> msbuild /p:BootstrapBuildPath=<path-to-core-clr-dir>
> msbuild /p:BootstrapBuildPath='path-to-core-clr-dir'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册