Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I am trying to figure out why our solution builds fine locally on a laptop using VS2022 with .NET6 SDK.
but when I push the changes into an azure devops pipeline using the VM, windows-latest, the code project builds fine, but the Wix Installer build fails due to not being able to find some of the .netcore runtime. Like the one here: Microsoft.AspNetCore.App.Runtime.win-x64
This package says it should not really be included as a package reference...
Per this: https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.win-x64#readme-body-tab
The error occurs during msbuild. Here is the error from the build.
2022-11-09T21:50:30.0106799Z dotnet publish "....\xyz\xyz.csproj" -c Release -o ....\publish --self-contained true -r win-x64
2022-11-09T21:50:30.4369070Z MSBuild version 17.3.2+561848881 for .NET
2022-11-09T21:50:31.0592450Z Determining projects to restore...
2022-11-09T21:50:32.2812840Z Retrying 'FindPackagesByIdAsync' for source 'https://pkgs.dev.azure.com/xyz/_packaging/c125374b-3b22-4f84-85c7-802b236a3a3e/nuget/v3/flat2/microsoft.netcore.app.runtime.win-x64/index.json'.
2022-11-09T21:50:32.4353001Z Response status code does not indicate success: 401 (Unauthorized).
By the way, this whole solution built fine before it was adjusted to use .NET6.
I am wondering if this is a wix issue ( seems unlikely since it builds fine on a laptop ), or if this is an azure devOps issue.. or I need to adjust my yaml file for something....
Appreciate the input.
Beta Was this translation helpful? Give feedback.
All reactions