firegiant / HeatWaveSupport

Issues-only repository to report HeatWave bugs and feature requests to FireGiant
3 stars 0 forks source link

HeatWave does not show up on either the Project menu or context menu in Solution Explorer #54

Open lizardcobra opened 9 months ago

lizardcobra commented 9 months ago

HeatWave Version

1.0.2.1

Visual Studio Version

17.7.6

Repro Steps

  1. Close Visual Studio
  2. Install HeatWave for VS2022
  3. Reboot computer
  4. Try to upgrade wixproj and csproj files from wix v3 to wix v4

Actual Result

HeatWave and FireGiant option to upgrade wix projects from v3 to v4 is not available. There is no HeatWave available anywhere. I tried to upgrade, but there is no Upgrade to WiX v4 option. I tried to access this option from File Explorer and from the project in Visual Studio. Visual Studio shows that Fire Giant HeatWave is indeed installed. But it does not actually show up anywhere.

Expected Result

I am using a wixproj and csproj file to build the installer. Currently the wix project is imported using a WixTargetsPath that points to the v3 installation directory, as shown below. It seems that there is no equivalent directory any more for v4. I have not found any documentation on how this needs to be updated to migrate from v3 to v4, and I was expecting that the HeatWave tool would take care of this.

  <Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
  <PropertyGroup>
    <PreBuildEvent>"$(WIX)bin\Heat.exe" dir ..\..\..\..\..\..\GraphicsModels -t $(ProjectDir)excludesvn.xsl -dr Gleason__GSP_ -v -gg -cg GraphicsModels -var var.GraphicsModels -sfrag -template fragement -out $(ProjectDir)GraphicsDir.wxs

According to the documentation, I expected that if I right click on either my wix v3 project folder or my .wixproj and .csproj files, from either File Explorer or from VS, there should be an option to upgrade the project(s). There is no such option.

firegiantco commented 8 months ago

We are not able to reproduce this. Can you confirm you see the WiX v4 project templates and create and build a simple MSI project created from scratch?

Also, to be clear, there is no integration with File Explorer to convert WiX v3 to WiX v4. That is achieved by opening the v3 project in Visual Studio and right-clicking on the project node. You should see the convert command when that is done.