Replies: 1 comment
-
WiX v3 does not support |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While trying to update our version of Paket (so a new project can target .NET 8), we found it wants to run
dotnet restore example.sln
, but this is failing when some projects are using WiX 3.11.2.3516 which appears to be the latest V3 version. We are not looking to update the the WiX projects themselves, and they have<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
.I think this error comes from the project having
<WixCATargetsPath Condition=" '$(WixCATargetsPath)' == '' ">C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\Wix.CA.targets</WixCATargetsPath>
and<Import Project="$(WixCATargetsPath)" />
.Is it possible to use the new
dotnet restore
tools with WiX 3 or do we need to upgrade to WiX 4 first?Could the WiX targets files maybe skip the
ReadRegistry
bit on adotnet restore
, as I assume they never produce anything relevant to restoring dependencies, and the WiX build tools are installed separately anyway? SomeCondition
on the<Import />
to only import WiX on msbuild maybe?#5711 seems to imply removal of Microsoft.Build.Utilities 2.0 but that version has never been released?
#5627 seems to imply
dotnet build
works in WiX 4, we don't needdotnet build
to work, as we build from either VS2022 or msbuild.Beta Was this translation helpful? Give feedback.
All reactions