-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run Samples.Mvc5 because it's a class library #184
Comments
Technically it's an ASP.NET application (i.e. ASP.NET 4.x, which requires IIS). But the project is using the new .NET SDK project schema which doesn't correctly support launching IIS or IISExpress for ASP.NET 4.x applications from within Visual Studio. The workaround is to manually create an IIS site and point it at the source directory. |
Yep - nothing we can do here, unfortunately. I hope the .NET guys will add support back in VS 2017 soon. cc @davkean - any idea if there's a timeline for MVC5 support in new |
I have opened up dotnet/project-system#2670 in hopes they'll add the functionality to handle all cases like this. |
The way I handle this in one of my projects (ReactJS.NET) is that the MVC 5 sample uses the "old style" .csproj, while every other project uses the new-style ones. It works fine. |
While not a long-term solution (they need to just add support) a fix for the starting specifically can be found here: dotnet/aspnetcore#1978 (comment) |
Title says it all, Samples.Mvc5 is a class library, it does not have a Program.cs with a static Main entry point. How do I run this sample?
The text was updated successfully, but these errors were encountered: