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

Pierrick Bouvier pierrick.bouvier at linaro.org
Tue Oct 4 01:51:26 PDT 2022


Good work 👍

I can confirm it solves problems for Windows on Arm platform, and full 
test suite is passing on this.

On 10/3/22 22:24, Rob Mensching wrote:
> New build 537 should be .NET 6 based.
> 
> -----Original Message-----
> From: Pierrick Bouvier <pierrick.bouvier at linaro.org>
> Sent: Saturday, October 1, 2022 11:32 PM
> To: Rob Mensching <rob at firegiant.com>; WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
> Subject: Re: [wix-devs] Build and test with Windows on Arm
> 
> Amazing!
> 
> I'll happily test this when it's available :) I'll reply here to confirm I can build and run tests for Windows on Arm.
> 
> Pierrick
> 
> On 10/2/22 02:40, Rob Mensching wrote:
>> I'm working the change through the integration tests. I missed a path change somewhere.
>>
>> I should have it done by the end of the weekend.
>>
>> -----Original Message-----
>> From: Pierrick Bouvier <pierrick.bouvier at linaro.org>
>> Sent: Saturday, October 1, 2022 10:38 AM
>> To: Rob Mensching <rob at firegiant.com>; WiX Toolset Developer Mailing
>> List <wix-devs at lists.wixtoolset.org>
>> Subject: Re: [wix-devs] Build and test with Windows on Arm
>>
>> Hi Rob,
>>
>> thanks for your answer.
>> That would be great to make that upgrade yes, and that seems reasonable, especially for a "new" codebase like wix4.
>>
>> Do you need help for testing this, or doing any change? We are willing to help on this.
>>
>> Pierrick
>>
>> On 10/1/22 11:28, Rob Mensching wrote:
>>> 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)?
>>>
>>> Thanks,
>>> Pierrick
>>>
>>> ---
>>>
>>> Error log is:
>>>
>>>       CompileCoreTestExtensionWixlib ->
>>> ...\wix\Debug\test\CompileCoreTestExtensionWixlib\netcoreapp3.1\CompileCoreTestExtensionWixlib.dll
>>>       You must install or update .NET to run this application.
>>>
>>>       App:
>>> ...\test\CompileCoreTestExtensionWixlib\netcoreapp3.1\CompileCoreTestExtensionWixlib.dll
>>>       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:
>>>       https://aka.ms/dotnet/app-launch-failed
>>>
>>>       To install missing framework, download:
>>>     
>>> https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&
>>> f
>>> ramework_version=3.1.0&arch=arm64&rid=win10-arm64
>>> C:\work\recipes\wix4\wix4\src\wix\test\CompileCoreTestExtensionWixlib\CompileCoreTestExtensionWixlib.csproj(28,5):
>>> error MSB3073: The command "dotnet
>>> C:\work\recipes\wix4\wix4\build\wix\Debug\test\CompileCoreTes
>>> tExtensionWixlib\netcoreapp3.1\CompileCoreTestExtensionWixlib.dll
>>> "C:\work\recipes\wix4\wix4\build\wix\obj\CompileCoreTestExtensionWixl
>>> i
>>> b\Debug\netcoreapp3.1\ "
>>> "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