(这是一个.NET构建服务器)我应该在构建服务器上安装SDK吗?
,我发现了以下错误:
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编译组件。
现在我可以通过构建服务器上安装微软最新的SDK解决这个问题,但我认为构建服务器的整点是不是有你开发工具安装了。我想我大概可以解决这个而不是经过一番盘算工作的一些事情了(像这些家伙一样)
http://richardsbraindump.blogspot.com/2009/07/some-teambuild-fun-and-games.html
我应该安装SDK?更重要的是:
构建服务器的主要目的是什么?
这将使某种意义上也,但是,我们使用CCNET,运行NUnit的测试与构建一起。 (如果测试通过,那么构建也是如此)你的意思是某种手动测试服务器? – KevinDeus 2009-07-30 21:07:24
不同的地方称它为不同的名称 - 测试,接受。一个非常接近生产的环境,以确保系统(包括其安装)在没有任何支持工具或SDK的情况下工作。 NUnit测试在这个环境下是不够的,但是可能会有前端测试(例如Canoo WebTest) – 2009-07-30 21:57:08