wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
129 stars 24 forks source link

Can't open solution contains wix project (Visual Studio 2022 Preview). #6753

Closed Hominis06 closed 2 years ago

Hominis06 commented 2 years ago

Hello everyone! With latest Visual Studio update, I can't open a solution containing a .wixproj file. I understand that it may not be in your plans to support preview versions of visual studio, but I'm worried that this problem may migrate to the main build of visual studio since Microsoft does not consider this a bug. I look forward to your reply, thanks in advance

rseanhall commented 2 years ago

You should reply to that Microsoft bug that it was closed in error. They should not have closed it when someone said it went away when they downgraded VS.

Hominis06 commented 2 years ago

@rseanhall OMW

barnson commented 2 years ago

What happens if you create an empty solution and add a new WiX project from the templates?

Hominis06 commented 2 years ago

@barnson wix project folder with files is created in the solution folder, but the wix project is not added to the solution. The error is the same as before. After clicking create -> ok(in error window) the configure project window is still open. image

FabienF-Alten commented 2 years ago

Hello! Just passing by to say that I have this problem too, and it persisted after a clean Visual Studio reinstall. Microsoft most likely broke something in 17.2 Preview 2, which shouldn't be yours to fix, but seeing how they half-assed their support on the matter, a fix from your side would definitely be welcome (especially if they consider their bug to be a new feature going forward)

FabienF-Alten commented 2 years ago

17.2 Preview 3 -> problem not fixed by Microsoft. They were the one who broke it, but maybe something can be done on the extension side if it's a "simple" cast issue?

Given their lack on response on their feedback thread, this breaking change seems to be here to stay :/

Hominis06 commented 2 years ago

@FabienF-Alten

Given their lack on response on their feedback thread, this breaking change seems to be here to stay :/

The original topic of problem on Microsoft's forum is opened now. Let's just wait their reaction.

FabienF-Alten commented 2 years ago

@FabienF-Alten

Given their lack on response on their feedback thread, this breaking change seems to be here to stay :/

The original topic of problem on Microsoft's forum is opened now. Let's just wait their reaction.

Oh ok sorry. I'm not very familiar with how their forum works, I didn't notice that. Thanks for the info

Hominis06 commented 2 years ago

@barnson @rseanhall FYI https://developercommunity.visualstudio.com/t/Solution-Loading-Gives-Error-and-Stops-s/1703151#T-N10025110

robmen commented 2 years ago

This pre-release of Votive should have a change to avoid the issue exposed by Visual Studio 17.2.0: https://github.com/wixtoolset/VisualStudioExtension/releases/tag/v1.0.0.20

ericmoreira-vinci commented 2 years ago

Hello, I still have the same problem even with the release v1.0.0.20 : image

Here is the full log : ActivityLog.zip

Hominis06 commented 2 years ago

@ericmoreira-vinci I think you need to submit new issue with a detailed description of your case. I just updated Visual Studio Preview up to latest version (17.3.0 Preview 2.0) and everything works fine for me (I mean solution that caused this issue was submited)