-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use script to install ARM version of .NET on ARM because of a UseDotNet bug #3037
Open
MichelZ
wants to merge
27
commits into
dotnet:main
Choose a base branch
from
MichelZ:fix-netcore-install-arm
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MichelZ
changed the title
Use script to install .NET because of ARM bug
WIP - Please ignore | Use script to install .NET because of ARM bug
Nov 26, 2024
@MichelZ Maybe you can use the VS Code AzureDevops YAML validator 😄 ? |
Today I learned.... Thanks! |
@MichelZ it just got too painful watching 😆 |
MichelZ
changed the title
WIP - Please ignore | Use script to install .NET because of ARM bug
Use script to install ARM version of .NET on ARM because of a UseDotNet bug
Nov 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Looks like there's a bug in the UseDotNet Azure DevOps functionality and it installs x86 .NET on ARM:
microsoft/azure-pipelines-tasks#20300
Adding an install script to resolve this and install the proper version on ARM.
Also, the steps were added twice as prebuild and build. Removed one.
Here you can find the logs showing the x86 install:
https://dev.azure.com/sqlclientdrivers/public/_build/results?buildId=102454&view=logs&j=f62ec789-9893-5f91-3293-e8a10244adaa&t=83eb4f36-b8e6-57c5-1c44-e749ef0d4796
Note: This needs new packages added to the azure devops feed cache:
- microsoft.netcore.app.host.win-arm64 (I guess 8.0 & 9.0?)
##[error]tools\GenAPI\Microsoft.DotNet.GenAPI\Microsoft.DotNet.GenAPI.csproj(0,0): Error NU1301: Failed to retrieve information about 'Microsoft.NETCore.App.Host.win-arm64' from remote source 'https://sqlclientdrivers.pkgs.visualstudio.com/904996cc-6198-4d39-8540-eca72bdf0b7b/_packaging/e8fc87e8-fcf4-4bb0-a818-96a9fdd52378/nuget/v3/flat2/microsoft.netcore.app.host.win-arm64/index.json'.