[wix-users] Command line build project with VS2015 (devenv)

Persson, Magnus (SE-TLX) magnus.persson at assaabloy.com
Tue Dec 6 07:54:14 PST 2016


Thanks, that works!

/Magnus

On 2016-12-06 16:48, Phill Hogland wrote:
> You can call msbuild.exe (which is what devenv.exe is doing) but by calling msbuild directly you have finer control.  Look at the wix source where there are many examples of this.
>
>
>
> ________________________________
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Persson, Magnus (SE-TLX) <magnus.persson at assaabloy.com>
> Sent: Tuesday, December 6, 2016 9:24:05 AM
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] Command line build project with VS2015 (devenv)
>
> Hi,
>
> We use build agents to build all our source code and now it's time to
> add the WiX projects to those agents.
> However, is there a way to build with command line and use the .wixproj
> file like we do with .vcxproj files?
>
> E.g. devenv.exe Test.vcxproj /build "Release"
>
> If I try the below I get errors about "Undefined preprocessor variable
> '$(var.SourceFiles)'."
>
> devenv.exe MyInstaller.wixproj /build "Release"
>
> Would be good if we could use the .wixproj files as-is.
>
> /Magnus
>
>



More information about the wix-users mailing list