5

Previously when working with .net 4.5 and Visual Studio 2013, I could just right click the project, select Web and choose Local IIS like this: enter image description here Here I could select a URL for my application and stuff like that.

However, in Visual studio 2015 it looks like this: enter image description here

How do I use a local IIS? I dont want to start IIS express everytime, I just want to build and then refresh the page like I always have done... :)

JOSEFtw
  • 9,781
  • 9
  • 49
  • 67
  • I've checked it in VS2015, and I see that web tab looks exactly like in VS2012 and you can choose local IIS in the same place. Maybe you should install some updates – Andrey Aug 30 '15 at 16:06
  • Have you tried it with a ASP.NET 5 project? – JOSEFtw Aug 30 '15 at 16:15
  • No, sorry it was ASP .NET 4, when I'm choosing ASP.NET 5 and go to Debug tab my VS crashing :-( – Andrey Aug 30 '15 at 16:21

1 Answers1

4

That's because in VS 2013 you're using ASP.NET 4.5 -or similar- Web application.

In VS2015 you can also use that one but as you can see in your screenshots that project properties screen is for ASP.Net 5 preview project So, for ASP.Net 5 preview there's no current support for Local IIS.

This screenshot is from VS 2015 with both types of projects:

enter image description here

You can take a look to the ASP.Net 5 roadmap here

ASP.NET 5 Schedule and Roadmap

As a Workaround you can follow the 'manual steps' listed in this other stackoverflow post ASP.NET 5 project hosting on IIS

Community
  • 1
  • 1
JuanK
  • 2,056
  • 19
  • 32
  • Thanks man. Do you know where I can read more about support for Local IIS/when it will be available? – JOSEFtw Aug 30 '15 at 16:23
  • @JuanK Wow..I didnt know that..!! +1 – Bhushan Firake Aug 30 '15 at 16:25
  • Thanks, I will accept your answer. Right now, it's not possible to use Local IIS with ASP.NET 5. – JOSEFtw Aug 30 '15 at 16:27
  • As a workaround you can follow the 'manual steps ' listed in this other stackoverflow post http://stackoverflow.com/a/27539895/793085 – JuanK Aug 30 '15 at 16:30
  • I'm using VS2015 Enterprise FULL version and it still have the same properties page for ASP.NET 5 project as shown in screen 1 by @JuanK. Local IIS option not available. – nam Feb 03 '16 at 22:50