Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Sharing Views between Projects

$
0
0

Hello everybody,

I created a simple vnext-mvc-application. I like the template with authentication and want to move authentication files in separated project(class library nuget). I miss a few things regarding the user administration. I want to extend this things in the second project, so I can use this project in other web applications too.

I moved the authentcation files in second project and run the app. But app is broken, because it doesn't find "_LoginPartial.cshtml". This file I moved to "Views/Shared" folder in the second project. What I have to do to ensure that the engine  find this file?

Thank you in advance.

Regards,

Richard Martens


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>