In my VSTS Build process for the build task I have the following flags set to pre-compile the views:
/p:PrecompileBeforePublish=true /p:UseMerge=true
This works fine and I can see the views are pre-compiled and the site is definitely faster.
However, I can't seem to work out whether either of these sets the flag to allow or not the site to be updatable, obviously I don't want it to be updatable but no amount of Googling has found a suitable answer and I'm not sure if there is another way I can check?
Thanks
You'll want to use the EnableUpdateable
MSBuild property:
/p:EnableUpdateable=false /p:PrecompileBeforePublish=true /p:UseMerge=true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With