Search code examples
visual-studio-2010prebuildprecompiling

Visual Studio 2010 precompile or prebuild actions


I'm looking for ability to make some replacements in my code files in prebuild or precompile phase (user transparent). I was thinking about Visual Studio extension, but haven't found solution yet. Some way to access all files in solution/project or at least it' path is required.


Solution

  • There are built-in pre-build actions in Visual Studio (as are post-build), wouldn't they be suitable for your needs?

    More information here http://msdn.microsoft.com/en-us/library/ke5z92ks.aspx