TFS 2013 Build force MSBuild 使用 Visual Studio 2015
TFS 2013 Build force MSBuild to use Visual Studio 2015
我在使用新的 VS 2015 字符串插值语法(意外字符“$”)时遇到 TFS 2013 构建错误。我已经像这样修改了构建过程模板的 "Run MSBuild for Project" 任务,但仍然没有帮助。
- CommandLineArguments: String.Format("/p:SkipInvalidConfigurations=true {0} /tv:14", MSBuildArguments)
- 刀具路径:"C:\Program Files (x86)\MSBuild.0\Bin"
- 工具版本:“14.0”。
在构建定义中,我还指定了 "MSBuild Arguments" = /p:VisualStudioVersion=14.0.
为了它的价值,我放弃了尝试解决这个问题并将构建过程模板更改为 TfvcTemplate。12.xaml 并将其添加为 MSBuild 参数:/tv:14.0 /p:VisualStudioVersion=14.0 (在构建定义中)。
我知道如果有人不能升级到 TfvcTemplate,这将无济于事。12.xaml 不过。
我在使用新的 VS 2015 字符串插值语法(意外字符“$”)时遇到 TFS 2013 构建错误。我已经像这样修改了构建过程模板的 "Run MSBuild for Project" 任务,但仍然没有帮助。
- CommandLineArguments: String.Format("/p:SkipInvalidConfigurations=true {0} /tv:14", MSBuildArguments)
- 刀具路径:"C:\Program Files (x86)\MSBuild.0\Bin"
- 工具版本:“14.0”。
在构建定义中,我还指定了 "MSBuild Arguments" = /p:VisualStudioVersion=14.0.
为了它的价值,我放弃了尝试解决这个问题并将构建过程模板更改为 TfvcTemplate。12.xaml 并将其添加为 MSBuild 参数:/tv:14.0 /p:VisualStudioVersion=14.0 (在构建定义中)。
我知道如果有人不能升级到 TfvcTemplate,这将无济于事。12.xaml 不过。