No views view paging file after. NET CORE2.0 Publish

Source: Internet
Author: User

Previously done CORE1.0 project, published when there are Views folder, upgrade vs after the project with CORE2.0, after publishing no Views folder, fully compiled into a similar to Niunan.ZYYCY.Web.PrecompiledViews.dll, Internet search under no search to , ask in the group, find out why,
Modify Niunan.ZYYCY.Web.csproj,
Join the <MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish> under PropertyGroup
This will have the Views folder at the time of publication.
Backstage Netizen again sent an address, originally already had someone met.
Https://www.cnblogs.com/qulianqing/p/8252864.html

No views view paging file after. NET CORE2.0 Publish

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.