[wix-devs] Build and test with Windows on Arm

Rob Mensching rob at firegiant.com
Sat Oct 1 02:28:07 PDT 2022

When WiX v4 started on .NET Core, netcoreapp3.1 was the LTS. That's why all of the .NET Core projects are netcoreapp3.1 (if they cannot be netstandard2.0).

However, I have been considering moving our minimum to .NET 6 since it is the newest LTS and WiX v4 is likely to GA after (hopefully, not much after) .NET Core 3.1 goes out of service.

This is just one more reason to make the move. I'm making the change now.

-----Original Message-----
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Pierrick Bouvier via wix-devs
Sent: Friday, September 30, 2022 1:36 AM
To: wix-devs at lists.wixtoolset.org
Cc: Pierrick Bouvier <pierrick.bouvier at linaro.org>
Subject: [wix-devs] Build and test with Windows on Arm

Hello Wix developers,

at Linaro, we are working with Microsoft help enable and test projects for Windows on Arm (https://www.linaro.org/windows-on-arm/). Wix is widely used, and is a project where we are focusing our attention now.

As a first step, I've been trying to build and run tests for Wix4 on this platform (using devbuild.cmd).

I successfully installed dependencies:
- dotnet 35 sp1
- dotnet 6 sdk (for all arch)
- VS components for ASP/Dotnet dev
- dotnet core (for x86/x64)

The problem is that some tests are trying to run using dotnet core, and on arm64 platform. However, dotnet core 3.1 is not installable for arm64 (and probably won't be, as it's reaching end of support in December 2022).

Is there a way to deactivate those tests for this platform specifically?

Beyond that, why Wix is supporting all those older Dotnet versions (customers need or codebase need)?



Error log is:

   CompileCoreTestExtensionWixlib ->
   You must install or update .NET to run this application.

   Architecture: arm64
   Framework: 'Microsoft.NETCore.App', version '3.1.0' (arm64)
   .NET location: C:\Program Files\dotnet\

   The following frameworks were found:
     6.0.9 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

   Learn about framework resolution:

   To install missing framework, download:
error MSB3073: The command "dotnet
" "C:\work\recipes\wix4\wix4\build\wix\TestData\Debu g\example.wixlib" 
"example.wxs"" exited with code -2147450730.
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-devs mailing list