asp.net mvc - How can I bulk set all cshtml MVC views to build action None? -
i using razorgenerator don't need include cshtml files in deployment have compiled pages. pages compiled using custom tool razorgenerator have build action set content. when package solution included increasing size of deployment.
how can set 800 cshtml files buildaction of none rather content? don't fancy doing manually. there easy way bulk exclude msbuild rule etc?
- proj file valid xml file, can write simple console app read proj file , set value of build action node.
- depending on project structure, can select range of cshtml files in solution explorer while pressing shift , set build action in properties window , set build action none, set selected files.
Comments
Post a Comment