c# - 我应该在构建服务器上安装 SDK 吗?

标签 c# msbuild build-process build-automation cruisecontrol.net

(这是一个 .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# - 我应该在构建服务器上安装 SDK 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1208765/

相关文章:

build-process - 持续集成与夜间构建

build-process - 设置强大的中小型项目的教程 *nix build

c# - 打包vs2005项目

c# - 拦截并更改应用程序生成的 sql 查询

c# - 工厂模式困惑

C# 将多个对象保存到数据库后获取 id 的列表或数组

c# - 断言包含通配符中的项目数

c# - 如何使用 .NET Core 在 Azure Function V3 中使用 IOptions 模式

msbuild - 构建成功,但找不到二进制文件。为什么?

visual-studio-2010 - VS.NET 2010/MSBUILD 可以为 .NET 3.5 SP1 生成 XmlSerializers 吗?