I serve my asp.net mvc views from many assemblies and copy the views to the main application on an event after the build.
This works, however, I realized that when I change something and just press F5, the changes are not included. What I need to do to see the changes is: save, build <- click explicitly, and then press F5. However, this is a rather annoying decision.
I found that setting the Build action to "Embedded Resource" in the view also solves the problem, but other developers may not remember that they should do this after adding each view to the solution.
Is there a way to override the default action for specific file extensions, for example: * .aspx, * .ascx in a project or (better) in a solution?
What I found is the ability to add this parameter globally to the machine, but I do not want to do this (link: http://blog.andreloker.de/post/2010/07/02/Visual-Studio-default- build-action-for-non-default-file-types.aspx )
Any ideas?
-studio of visual the build an asp.net-mvc the action
Łukasz Podolak July 23. '10 at 16:20 2010-07-23 16:20
source share