【发布时间】:2018-01-06 09:02:25
【问题描述】:
我有一个非常简单的项目,突然想加载 .NET 版本 2
web.config 中的<compilation> 标签包括targetFramework="4.6.1"
项目属性下的Target框架也设置为4.6.1
但 IISExpress 实例显示版本 2
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings>
<add connectionString="xxx" name="x"/>
</connectionStrings>
<system.web>
<compilation debug="true" targetFramework="4.6.1"/>
<authentication mode="Windows"/>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
</system.web>
</configuration>
【问题讨论】:
标签: asp.net .net target-framework