VSTS托管版本.Net Framework 4.6.2 [英] VSTS Hosted Build .Net Framework 4.6.2

查看:130
本文介绍了VSTS托管版本.Net Framework 4.6.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在VSTS生成过程中出现错误,指出未找到.net 4.6.2.知道什么时候可以在构建代理上使用它吗?

I'm getting errors during VSTS build process stating .net 4.6.2 is not found. Any idea when it will be made available on the build agents?

2016-08-30T17:09:31.0009946Z ## [错误] C:\ Program Files(x86)\ MSBuild \ 14.0 \ bin \ Microsoft.Common.CurrentVersion.targets(1098,5):错误MSB3644:The找不到框架".NETFramework,Version = v4.6.2"的参考程序集.要解决此问题,请为此框架版本安装SDK或Targeting Pack,或将您的应用程序重新定位到已为其安装SDK或Targeting Pack的框架版本.请注意,程序集将从全局程序集缓存(GAC)中解析,并将代替参考程序集.因此,您的程序集可能未正确定位到您想要的框架.

2016-08-30T17:09:31.0009946Z ##[error]C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1098,5): Error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.6.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.

推荐答案

从此处下载正确的DEVELOPER定位包:

Download the correct DEVELOPER targetting pack from here:

https://www.microsoft.com/net/targeting

这篇关于VSTS托管版本.Net Framework 4.6.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆