質問

I know that msbuild does not support VDPROJ files, but it maybe built using command line devenv.

I want to build all prjects (C#) using msbuild task and only after that starting specific setup project from my solution. Of course this projects has dependencies to previously created C# projects (otput from proj1, proj2, proj3).

How could I do it?

役に立ちましたか?

解決

Override AfterCompile (or AfterBuild) task and add Exec command for devenv.exe to compile vdproj files. When you run devenv.exe /build /project you will only build the specified project within the specified solution. Only project files that have changed since the last build will be build. Therefore the dependant projects will not be build unless they have been changed.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top