How to set new sites in IIS 7.5 to be .NET 4 by default
-
20-04-2021 - |
문제
I just reinstalled Windows 7 and IIS is creating new .NET 2.0 sites by default. At one point I had it set to create .NET 4.0 sites by default - how do I set that up again?
해결책
Select the root element in the tree on the left – it contains the name of the server.
Click on the "
Change .NET Framework Version
" link on the right panel. You will now see the "Change .NET Framework Version" dialog.Select the .NET 4.0 framework from the drop down list.
Click "OK"
다른 팁
What worked for me was:
- Click on "Application Pools" in the tree on the left
- Click on "Set Application Pool Defaults..." on the right panel.
- Set the ".NET Framework Version" to v4.0
제휴하지 않습니다 StackOverflow