Teamcity 未构建紧凑框架项目
我目前正在尝试让 TeamCity 5.1.2 构建一个紧凑的框架项目(我不想构建一个 CAB,只是构建该项目),但是我继续收到错误:
Framework\v2.0.50727\Microsoft.CompactFramework.Common.Targets(23, 9): error MSB4062: The "Microsoft.CompactFramework.Build.Tasks.GetDeviceFrameworkPath" task could not be loaded from the assembly Microsoft.CompactFramework.Build.Tasks, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
.NET Compact Framework(3.5) is located on the build机,所以我很困惑......有人对解决方案有想法吗?
I am currently trying to get TeamCity 5.1.2 to build a compact framework project (I am not wanting to build a CAB just build the project) however I continue to get an error
Framework\v2.0.50727\Microsoft.CompactFramework.Common.Targets(23, 9): error MSB4062: The "Microsoft.CompactFramework.Build.Tasks.GetDeviceFrameworkPath" task could not be loaded from the assembly Microsoft.CompactFramework.Build.Tasks, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
the .NET Compact Framework(3.5) is installed on the build machine so I am stumped....does anyone have an ideas on a resolution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题。我的解决方案是在 teamcity 中配置“Visual Studio 2008”构建步骤,而不是“MSBuild”构建步骤。
I encountered the same problem. My solution was to configure a "Visual Studio 2008" build step in teamcity instead of a "MSBuild" build step.