【发布时间】:2010-11-15 13:51:49
【问题描述】:
(这是一个 .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 吗?更重要的是:
构建服务器的主要用途是什么?
【问题讨论】:
标签: c# msbuild build-process build-automation cruisecontrol.net