Is is possible to compile asp.net mvc views into one assemply when publishing web project?
Is is possible to compile asp.net mvc views into one assemply when publishing web
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is ASP.NET Merge tool (Aspnet_merge.exe) and Web Deployment Projects ( UPDATED:
Aspnet_merge.execame with Windows SDK components when you installing Visual Studio 2008 – look at “%Program Files%\Microsoft SDKs\Windows\v6.0A\bin” folder ). These links may be interesting to you:UPDATED:
In ASP.NET MVC projects there is
<MvcBuildViews>true/false</MvcBuildViews>property which enables compiling Views in AfterBuild target. But it does not compile your project in one assembly. You should use ASP.NET Merge tool or Web Deployment Projects.