MsBuild custom tasks is the way to do this.
Shaun McDonnell
Hi,
For custom MSBuild project or for my VS Projet?
I was thinking about changing source files that are in project and save it
to temporary location and use it for compilation. I want to revert this
changes after compilation.
I can watch for OnBuildBegin event on DTE and make my changes and save file
and revert it after build but if changed file was opened in editor user will
get information about file changes to reload and i don't want this.
Or maybe i don't need to integrate with DevEnv? Does it use common tasks
defined in .NET Framework directory while compilation?
> MsBuild custom tasks is the way to do this.
>
> Shaun McDonnell
Shaun C McDonnell - 15 Feb 2007 18:23 GMT
Yes, you can use all common tasks within the .NET Framework and can create
your own. In Visual Studio 2005, the Solution Files (.sln) are the MsBuild
files.
Shaun McDonnell
> Hi,
> For custom MSBuild project or for my VS Projet?
[quoted text clipped - 12 lines]
>>
>> Shaun McDonnell
jokerekpl - 16 Feb 2007 09:06 GMT
Thank you for your help.
> Yes, you can use all common tasks within the .NET Framework and can create
> your own. In Visual Studio 2005, the Solution Files (.sln) are the MsBuild
> files.
>
> Shaun McDonnell