-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
A .slnx solution contains a WiX project. By default, this WiX project should not be built. The configuration via Visual Studio is possible without any problems. However, if the solution is reopened, the configuration is reset and the Wix project is set to built again.
Reproduction:
Microsoft Visual Studio Professional 2022 (64-bit), Version 17.14.18 (October 2025)
Test Solution: TestSLNX.zip
<Solution>
<Configurations>
<Platform Name="x64" />
</Configurations>
<Project Path="TestApp/TestApp.csproj">
<Platform Project="x64" />
</Project>
<Project Path="TestWix/TestWix.wixproj" Id="4a922bd5-487a-4024-ab28-b9d5576c9993" />
</Solution>
- Close Solution in Visual Studio and reopen it.
- Click "Save all" without changing anything.
- A
<Build />node has been added and building has been activated again.
<Solution>
<Configurations>
<Platform Name="x64" />
</Configurations>
<Project Path="TestApp/TestApp.csproj">
<Platform Project="x64" />
</Project>
<Project Path="TestWix/TestWix.wixproj" Id="4a922bd5-487a-4024-ab28-b9d5576c9993">
<Build />
</Project>
</Solution>

Metadata
Metadata
Assignees
Labels
No labels
