title: Visual Studio: How to override the default "Build Action" for certain extension types per project or solution?
body: <p>I'm serving my asp.net mvc views from many assemblies and copying views to the main application on post-build event.</p>
  
  <p>This works, however, I realized, that when I change something in view and just hit F5, changes are not included. What I have to do to see changes is to: save, build&lt;- explicitly clicking, and then hit F5. However, it's pretty annoying solution.</p>
  
  <p>I discovered that setting Build action to "Embedded Resource" on view solves the problem as well, however other devs may not remember that they have to do this after adding every view to the solution. </p>
  
  <p>Is there a way to override the default build action for certain file extensions, such as: *.aspx, *.ascx in project or (better) in solution ?</p>
  
  <p>What I've found is an ability to add this setting globally, per machine, but I do not want to do that (link: <a href="http://blog.andreloker.de/post/2010/07/02/Visual-Studio-default-build-action-for-non-default-file-types.aspx" rel="nofollow noreferrer">http://blog.andreloker.de/post/2010/07/02/Visual-Studio-default-build-action-for-non-default-file-types.aspx</a>) </p>
  
  <p>Any ideas ?</p>