-
Notifications
You must be signed in to change notification settings - Fork 66
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
_Layout not displayed in .Net core 2.0 preview 1 #16
Comments
Good question, I haven't tried this package with 2.0 myself, was waiting for it to get a bit closer to a release candidate status. |
Unfortunately, I confirm the existence of this bug as I took a fresh new template and added your nuget. If you have an idea on what I should look for I would be happy to tackle it. I get the following warning, not sure if this is related. |
Does the empty template include a _viewstart file? |
No, it's empty as before. Of course I added the _ViewStart.cshtml |
Here is a repro |
@OdeToCode , the workaround is now on the aspnet/mvc repo. It is not due to your package. Wise to wait for the official release. |
Hi @OdeToCode ,
Did you encounter a bug with the FeaturesFolder with .Net Core 2.0 Preview 1? I was working without issues on .Net Core 1.1 with your routine and the views were properly discovered, but now starting with an empty template in preview 1 and adding a home/index view with a controller and attribute routing and a shared layout view gets the latter not displayed by a browser. The only way to have it read is to invoke
Layout = "_Layout";
directly from Home Index view.The text was updated successfully, but these errors were encountered: