I'm using Visual Studio Express 2015RC and I created a simple MVC 6 application, but when I try to publish it I don't see the option to deploy it to IIS, I see the options Microsoft Azure Web App, Import and File System, I tried the File System but It looks like it is more for creating stand alone applications to be launched from a console, now, when debugging I can select IIS Express or the web command, there is no IIS option, so the question is, how can I deploy the MVC6 web application I created to IIS?
Asked
Active
Viewed 7,922 times
1 Answers
12
File System publish is actually exactly what you want; All DNX applications are stand-alone, whether for ASP.NET 5 or a console app.
When you publish to the File System, you get a few folders; the wwwroot
(assuming you kept the default in your project.json
) folder is where IIS should point. The web.config in that folder is generated for you automatically assuming you keep everything else where it is.
For what it's worth, the official documentation will probably be here, once it's written. Also, on Stack Overflow, ASP.NET 5 project hosting on IIS probably has some useful information, though it looks like it's a bit out of date at the moment.

Community
- 1
- 1

Matt DeKrey
- 11,582
- 5
- 54
- 69
-
Sure. Make sure you accept answers to your questions that help you! – Matt DeKrey May 15 '15 at 18:16
-
I was just in doubt about which folder should be root. So thanks :) – Michael Winther Dec 01 '15 at 13:51
-
I have some serious troubles fixing the "Path too long"-Issue,since none of the found solutions work. – Matthias Müller Feb 25 '16 at 16:54