<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
在WebConfig的启动项设置Startup节点加入:
useLegacyV2RuntimeActivationPolicy="True"
2024-01-07 17:22:22
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
在WebConfig的启动项设置Startup节点加入:
useLegacyV2RuntimeActivationPolicy="True"