我安装了最终用户预览版,克隆了源代码,然后完全按照“构建,测试和调试”部分中的说明进行操作。不幸的是,当从命令行构建Roslyn.sln时,我得到了两个错误:
Done Building Project "C:\Users\Nate\Source\Repos\roslyn\Src\Roslyn.sln" (default targets) -- FAILED.
Build FAILED.
"C:\Users\Nate\Source\Repos\roslyn\Src\Roslyn.sln" (default target) (1) ->
"C:\Users\Nate\Source\Repos\roslyn\Src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj" (default target) (2) ->
"C:\Users\Nate\Source\Repos\roslyn\Src\Test\Utilities\TestUtilities.csproj" (default target) (5) ->
"C:\Users\Nate\Source\Repos\roslyn\Src\Compilers\CSharp\Source\CSharpCodeAnalysis.csproj" (default target) (7) ->
(GenerateSyntaxModel target) ->
C:\Users\Nate\Source\Repos\roslyn\Src\Tools\Microsoft.CodeAnalysis.Toolset.Open\Targets\GenerateCompilerInternals.targets(51,5): error MSB3073: The command ""..\..\..\..\Binaries\Debug\CSharpSyntaxGenerator.exe" Syntax\Syntax.xml obj\Debug\Syntax.xml.Generated.cs" exited with code 3. [C:\Users\Nate\Source\Repos\roslyn\Src\Compilers\CSharp\Source\CSharpCodeAnalysis.csproj]
"C:\Users\Nate\Source\Repos\roslyn\Src\Roslyn.sln" (default target) (1) ->
"C:\Users\Nate\Source\Repos\roslyn\Src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj" (default target) (2) ->
"C:\Users\Nate\Source\Repos\roslyn\Src\Test\Utilities\TestUtilities.csproj" (default target) (5) ->
"C:\Users\Nate\Source\Repos\roslyn\Src\Compilers\VisualBasic\Source\BasicCodeAnalysis.vbproj" (default target) (13) ->
C:\Users\Nate\Source\Repos\roslyn\Src\Tools\Microsoft.CodeAnalysis.Toolset.Open\Targets\GenerateCompilerInternals.targets(51,5): error MSB3073: The command ""..\..\..\..\Binaries\Debug\VBSyntaxGenerator.exe" Syntax\Syntax.xml obj\Debug\Syntax.xml.Generated.vb" exited with code 3. [C:\Users\Nate\Source\Repos\roslyn\Src\Compilers\VisualBasic\Source\BasicCodeAnalysis.vbproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:08.84
可以找到整个构建日志here
对我可能会忽略的任何见解都将不胜感激。