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
Asked
Active
Viewed 450 times
0
-
Might or might not help: http://stackoverflow.com/q/11098601/11683, http://stackoverflow.com/q/2998988/11683. – GSerg Dec 04 '16 at 09:44
-
Have you tried re-installing .NET framework? – RVid Dec 04 '16 at 10:05
-
yes i have re-installed – ABM Dec 04 '16 at 10:20
1 Answers
0
To make this happen, you need to set an environment variable DNX_IIS_RUNTIME_FRAMEWORK
to the target framework you want to use. You can do this in the Project Properties page for the web application, on the Debug tab. Just choose the IIS Express
profile and add the environment variable as below:

Yaser
- 5,609
- 1
- 15
- 27