我可以使用 Visual Studio 2015 来定位 .net framework 4.7 吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/43420178/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-03 09:54:41  来源:igfitidea点击:

Can I use Visual Studio 2015 to target .net framework 4.7?

.netvisual-studio-2015

提问by Raghu

I have Windows 10 Creators Update on my machine and I checked the registry key and found the Value of the Release DWORD is 460798(per https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx).

我的机器上有 Windows 10 Creators Update,我检查了注册表项,发现Release DWORD 的值为 460798(根据https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110 ).aspx)。

Yet, when I launched Visual Studio 2015 (Update 3) and the Target Framework drop down in a project properties does not show .NET Framework 4.7. The target .net platform page (http://getdotnet.azurewebsites.net/target-dotnet-platforms.html#) does not show.net framework 4.7 under VS 2015.

然而,当我启动 Visual Studio 2015(更新 3)并且项目属性中的 Target Framework 下拉菜单未显示 .NET Framework 4.7 时。目标 .net 平台页面 ( http://getdotnet.azurewebsites.net/target-dotnet-platforms.html#)在 VS 2015 下不显示.net framework 4.7。

Can I even target .net framework 4.7 with VS 2015? If it is possible, what should I do?

我什至可以使用 VS 2015 定位 .net framework 4.7 吗?如果可能,我应该怎么做?

回答by Sami Kuhmonen

Edit: The targeting packis now available for earlier versions also as of 2017-05-02.

编辑:目标包现在也适用于 2017 年 5 月 2 日的早期版本。

Microsoft hasn't yet released the .NET 4.7 targeting pack for earlier versions of Visual Studio. It will come "soon" when they also release the framework for earlier Windows versions.

Microsoft 还没有为早期版本的 Visual Studio 发布 .NET 4.7 目标包。当他们也发布早期 Windows 版本的框架时,它会“很快”到来。

See the section Support in their blog.

请参阅他们博客中的支持部分。

回答by Sundara Prabu

It is available now .We can target .net framework 4.7 with VS 2015. It is possible,

它现在可用。我们可以使用 VS 2015 定位 .net framework 4.7。这是可能的,

Download and install this in the development PC.

在开发 PC 中下载并安装它。

.Net developer pack for Vs 2015

Vs 2015 的 .Net 开发人员包

回答by junnyea

Yes, you can!

是的你可以!

The .NET Framework 4.7 Developer Pack lets developers build applications that target the .NET Framework 4.7 by using Visual Studio 2015.

.NET Framework 4.7 Developer Pack 允许开发人员使用 Visual Studio 2015 构建面向 .NET Framework 4.7 的应用程序。

https://support.microsoft.com/en-us/help/3186612/the-net-framework-4-7-developer-pack-and-language-packs

https://support.microsoft.com/en-us/help/3186612/the-net-framework-4-7-developer-pack-and-language-packs

** Remember to restart your workstation after installation.

** 请记住在安装后重新启动您的工作站。