I've been looking at this for a few hours now and I cannot get it fixed.
I have a .NET 4.5 web site and API and I'm working on Windows 10. I have VS2012 Pro installed and VS2015 Community installed.
Checking the Web Platform Installer it states that I already have .NET 4.5 installed.
Everytime I open the API or Web Site solutions it informs me that .NET 4.5 & IIS aren't configured and my applications wont run.
I've tried running these commands as per MS:
dism /online /enable-feature /all /featurename:IIS-ASPNET45
And I still get the some error being reported. Everything I have read states that the above command should fix the issue but it doesn't. I can't find anything else on the topic other than the command listed above.
Seems there are a lot of people with this issue all saying the same thing but no working solution (at least for me so far). .NET 4.5 isn't listed in Add Features to Windows
.
How do I get this working so that ASP.NET 4.5 and IIS work?
See Question&Answers more detail:os