这是一个 .net 构建服务器。
我收到了以下错误:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1679,9): error MSB3091: Task failed because "LC.exe" was not found, or the .NET Framework SDK v2.0 is not installed.
The task is looking for "LC.exe" in the "bin" subdirectory beneath the location specified in the SDKInstallRootv2.0 value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework.
You may be able to solve the problem by doing one of the following:
1.) Install the .NET Framework SDK v2.0.
2.) Manually set the above registry key to the correct location. 3.) Pass the correct location into the "ToolPath" parameter of the task.
这是因为我们使用了一个需要LIC.exe编译的组件。
现在我可以通过在构建服务器上安装最新的Microsoft SDK来解决问题,但我认为构建服务器的整个目的是不需要安装开发工具。我想我可能可以解决这个问题,但需要一些时间去研究(就像这些人所做的那样)。 http://richardsbraindump.blogspot.com/2009/07/some-teambuild-fun-and-games.html 我应该安装SDK吗?更重要的是: 构建服务器的主要目的是什么?