简体   繁体   English

无法在Visual Studio 2015中选择.net框架

[英]Can't select .net framework in Visual Studio 2015

I have installed Visual Studio 2015. When I tried to create a new web project, it doesn't allow me to select the target .net framework 我已经安装了Visual Studio2015。当我尝试创建一个新的Web项目时,不允许我选择目标.net框架。

Image for help 寻求帮助的图片

To make this happen, you need to set an environment variable DNX_IIS_RUNTIME_FRAMEWORK to the target framework you want to use. 为此,您需要将环境变量DNX_IIS_RUNTIME_FRAMEWORK设置为要使用的目标框架。 You can do this in the Project Properties page for the web application, on the Debug tab. 您可以在Web应用程序的“项目属性”页面的“调试”选项卡上执行此操作。 Just choose the IIS Express profile and add the environment variable as below: 只需选择IIS Express配置文件并添加环境变量,如下所示:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在 Visual Studio 项目属性中选择 .NET Framework 2.0 - Can't select .NET Framework 2.0 in Visual Studio Project properties 无法在Visual Studio项目属性中选择.NET Framework 4.6.1 - Can't select .NET Framework 4.6.1 in Visual Studio Project properties 我可以使用Visual Studio 2015来定位.net框架4.7吗? - Can I use Visual Studio 2015 to target .net framework 4.7? Visual Studio 无法定位 .NET 框架 4.8 - Visual Studio Can't Target .NET Framework 4.8 选择要在Visual Studio应用程序中使用的.NET Framework - Select .NET Framework to Use In Visual Studio Application 项目无法在Visual Studio 2015私人组装中找到dll - Project can't find dll in Visual Studio 2015 PrivateAssemblies 如何在Visual Studio中选择.NET 4.5.2作为目标框架 - How to select .NET 4.5.2 as a target framework in Visual Studio Visual Studio 2012 - 在 .NET 4.5 框架中找不到 System.Transactions 程序集 - Visual Studio 2012 - Can't find System.Transactions assembly in .NET 4.5 framework Visual Studio 2010-无法逐步浏览.NET Framework 4源(PresentationCore.dll) - Visual Studio 2010 - Can't step through .NET Framework 4 source (PresentationCore.dll) Visual Studio Community 2017无法定位.net Framework 4.0,未在目标页面上列出 - Visual Studio Community 2017 can't target .net framework 4.0, not listed on target page
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM