对于.NET 4.5.2未安装定位包 [英] Targeting pack for .NET 4.5.2 not installed

查看:203
本文介绍了对于.NET 4.5.2未安装定位包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当打开Visual Studio中已经存在的解决方案,它说:

When opening an already existing solution in Visual Studio, it says

C#项目...的目标是.NETFramework ,版本= v4.5.2,这是不是这台机器上安装

The C# project "..." is targeting ".NETFramework,Version=v4.5.2", which is not installed on this machine.

我已经尝试

推荐答案

直接链接:http://getdotnet.azurewebsites.net/target-dotnet-platforms.html

过时链接: http://blogs.msdn.com/b/dotnet/p/dotnet_sdks.aspx

首先,选择选项1,更改目标.NET框架4.5

First, choose option 1, "Change the target to .NET Framework 4.5"

下一步,进入到受影响的项目的项目选项中,选择应用程序,然后选择安装其他框架......从目标框架列表

Next, go to the project options of the affected project, select "Application" and then choose "Install other frameworks..." from the list of target frameworks:

这给你带来的网站 HTTP://blogs.msdn .COM / b / DOTNET / p / dotnet_sdks.aspx (在原始帖子撰写时间),在那里你可以选择你的Visual Studio版本并下载针对包(称为开发包)。

This brings you to the website http://blogs.msdn.com/b/dotnet/p/dotnet_sdks.aspx (at the time the original post was written) where you can choose your version of Visual Studio and download the targeting pack (called developer pack).

这篇关于对于.NET 4.5.2未安装定位包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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