Use DefaultProjectTypeGuid in WiX SDK
It isn't documented but other SDK projects use DefaultProjectTypeGuid not ProjectTypeGuids to provide the project type. The project type is used in .sln files and .wixproj cannot be added to .sln without a ProjectTypeGuids property or the SDK providing DefaultProjectTypeGuid so we provide the default here.
Rob Mensching committed
Aug 6, 2022 at 16:01 UTC
b7dc41e27aeb391bbf0d5722e0eac790c49af18f
2 files changed
+1
-1
src/wix/WixToolset.Sdk/tools/wix.props
-1
@@ -20,7 +20,6 @@
20
</PropertyGroup>
21
22
<PropertyGroup>
23
- <ProjectTypeGuids>B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0</ProjectTypeGuids>
23
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
24
<DisableTransitiveProjectReferences>true</DisableTransitiveProjectReferences>
25
</PropertyGroup>
src/wix/WixToolset.Sdk/tools/wix.targets
+1
@@ -55,6 +55,7 @@
55
-->
56
57
<PropertyGroup>
58
+ <DefaultProjectTypeGuid Condition=" '$(DefaultProjectTypeGuid)' == '' ">{B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0}</DefaultProjectTypeGuid>
59
<DefaultLanguageSourceExtension>.wxs</DefaultLanguageSourceExtension>
60
<Language>wix</Language>
61
<TargetRuntime>wix</TargetRuntime>