property.ProductVersion.Major (Minor,Build,Revision) are returning error instead of the version. #8599
Unanswered
89magnum89
asked this question in
Questions
Replies: 1 comment 1 reply
-
#4308 has is some explanation, but no fix available. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to have together with the name of the app, the Major.Minor.Build version instead of a full version that has the Revision inside also.
So I have this code:
The package name should be a string like "My App Name 1.0.0", but instead, it's throwing an error:
<!-- Exception ON BUILD: Error (active) WIX0298 Unresolved bind-time variable My App Name !(bind.property.ProductVersion.Major).!(bind.property.ProductVersion.Minor).!(bind.property.ProductVersion.Build). -->
Am I doing something wrong or the Major,Minor,Build,Revision properties from ProductVersion is not working?
I saw in the ResolveDelayedFieldsCommand that you are executing the property.ProductVersion.Major, but it's going to the error reporting I assume in case the key is missing. And the key is missing from the dictionary VariableCache and from DelayedFields IEnumerable also.
Beta Was this translation helpful? Give feedback.
All reactions