Publish ASP.NET Core Razor Pages
Can't find a way to just publish a single cshtml page (no code-behind cshtml.cs involved). It feels like I'm missing something. This should be a super common thing to do. So, when I choose to publish single file option from VS, it deploys both cshtml and cshtml.cs files. But for Razor Pages, it all compiles to dll. There aren't actual pages after publish. So, it's possible to achieve this instead of publishing the whole project for small html changes? Thank you. Please see the screenshot
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.