Open ingobau opened 7 years ago
Which NuGet package?
It is a custom NuGet package including our custom managed bootstrapper. Furthermore, installing the NuGet package in a Wix Bootstrapper project, the file Bundle.wxs gets modified (e.g. add payload). This modifications are executed in install.ps1 and saved by calling WixToolset.VisualStudioExtension.OAWixProject.Save([PATHTOPROJECTFILE]).
DemoSaveVsProject.1.0.0.nupkg.zip
Please find attached the demo NuGet Package to replicate the issue described above. The install.ps1 calls the project save method. Installing the demo package in a Bootstrapper Project for Wix works fine with VS 2015 but doesn't work with VS 2017.
Bugs
If this issue is a bug:
Which version of WiX are you building with? WiX Toolset v3.1.0.1701
Which version of Visual Studio are you building with (if any)? Visual Studio Professional 2017 (2)
Which version of .NET are you building with?
4.5.2
On installing a NuGet package the power shell script install.ps1 is executed. The script install.ps1 calls the function WixToolset.VisualStudioExtension.OAWixProject.Save([PATHTOPROJECTFILE]) which results in freezing Visual Studio 2017.
The above mentioned script works fine in Visual Studio 2015.
Many thanks, Ingo