XamlCompiler.exe fails with code -1073741515 on GitLab CI
I am trying to set up CI on GitLab for my MAUI Project. My setup uses a Windows Runner with a Docker Container that uses the following .gitlab-ci.yml
stages: - build build_job: stage: build script: - "dotnet workload install maui" - "dotnet restore frontend/MAUIASPDApp.sln" - "dotnet build frontend/MAUIASPDApp.sln -c Debug -f net6.0-windows10.0.19041.0 --verbosity detailed"
This fails with the following error message
C:\Users\ContainerUser\.nuget\packages\microsoft.windowsappsdk\1.1.3\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.interop.targets(559,9): error MSB3073: The command ""C:\Users\ContainerUser\.nuget\packages\microsoft.windowsappsdk\1.1.3\buildTransitive\..\tools\net5.0\..\net472\XamlCompiler.exe" "obj\Debug\net6.0-windows10.0.19041.0\win10-x64\\input.json" "obj\Debug\net6.0-windows10.0.19041.0\win10-x64\\output.json"" exited with code -1073741515. [C:\builds\aspd\2022\team3\frontend\MAUIASPDApp\MAUIASPDApp.csproj]
I was unable to find this error anywhere else, in spite of my setup being pretty much a direct translation of various GitHub and other CI Pipelines that I found online. My institution requires using GitLab, so using anything other than that is no option. Locally, the project builds fine. Are there any suggestions on how to proceed or what might cause this? Unfortunately, the console output is not helpful, and I am really out of ideas at this point. Thanks!
Sign in to comment