Skip to content

support for CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD

When using team foundation server and vNext build system, one can run into problems building PACKAGE.vcxproj directly using a "MSBuild" build step. A workaround would be to not build PACKAGE.vcxproj directly but to build the .sln file and trigger PACKAGE on MSBuild commandline: /t:PACKAGE. Unfortunately this only works, if PACKAGE is included in the default build (which it is not): the .metaproj file which is generated by msbuild and used for building the software eventually does not contain any reference to PACKAGE and thus the target cannot be referenced.

This patch allows to build the PACKAGE target using msbuild like this:

msbuild /t:PACKAGE solution.sln

Merge request reports