Skip to content

Feature request: GitVersionTask with C++, WixToolset projects support #1132

@sergey-s-betke

Description

@sergey-s-betke

For WixToolset projects - just environment variables is enough. Or version.wxi with

<?xml version="1.0" encoding="utf-8"?>
<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <?define ProductVersion="02.04.3369.0007"?>
    ...
</Include>

Or version.wxs with

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <?include version.wxi ?>
    <WixVariable Id="ProductVersion" Value="$(var.ProductVersion)"/>
    ...
</Wix>

For .vcxproj - version.h for с++ compiler and resource compiler is enough. Minimum - project variables for using in /D directive for c++ compiler and resource compiler...

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions