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

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -