Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you edit a CSHTML without building again

I have a CSHTML file on the server. can I change part of the html code in the page without having ro rebuild my solution? Or everytime you edit the CSHTML you have to rebuild.

like image 567
John Avatar asked Feb 16 '12 12:02

John


2 Answers

You don't need to rebuild if you only change a Razor view. The changes will be automatically picked up.

like image 117
Darin Dimitrov Avatar answered Nov 15 '22 10:11

Darin Dimitrov


No, It is not required to build code for cshtml/vbhtml(razor view) files.

like image 25
Manas Avatar answered Nov 15 '22 08:11

Manas