Skip to content
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

GitHub Actions Fails Due to Missing .NET SDK 9.0 #3270

Open
gladjohn opened this issue Feb 26, 2025 · 0 comments · May be fixed by #3272
Open

GitHub Actions Fails Due to Missing .NET SDK 9.0 #3270

gladjohn opened this issue Feb 26, 2025 · 0 comments · May be fixed by #3272
Assignees

Comments

@gladjohn
Copy link
Contributor

Microsoft.Identity.Web Library

Microsoft.Identity.Web

Microsoft.Identity.Web version

latest

Web app

Not Applicable

Web API

Not Applicable

Token cache serialization

Not Applicable

Description

GitHub Actions Fails Due to Missing .NET SDK 9.0

Reproduction steps

view gh actions after merge to main

https://github.com/AzureAD/microsoft-identity-web/actions/runs/13536457823/job/37828942719

Run cd benchmark && dotnet run -c release -f net8.0 --filter 'Benchmarks.TokenAcquisitionBenchmark.*' --exporters json
The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application 'run' does not exist.
  * You intended to execute a .NET SDK command:
      A compatible .NET SDK was not found.

Requested SDK version: 9.0.102
global.json file: /home/runner/work/microsoft-identity-web/microsoft-identity-web/global.json

Installed SDKs:

Install the [9.0.102] .NET SDK or update [/home/runner/work/microsoft-identity-web/microsoft-identity-web/global.json] to match an installed SDK.

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
[8](https://github.com/AzureAD/microsoft-identity-web/actions/runs/13553231812/job/37881646611?pr=3268#step:4:9).0.406 [/usr/share/dotnet/sdk]
Error: Process completed with exit code 145.

Error message

Run cd benchmark && dotnet run -c release -f net8.0 --filter 'Benchmarks.TokenAcquisitionBenchmark.*' --exporters json
The command could not be loaded, possibly because:

  • You intended to execute a .NET application:
    The application 'run' does not exist.
  • You intended to execute a .NET SDK command:
    A compatible .NET SDK was not found.

Requested SDK version: 9.0.102
global.json file: /home/runner/work/microsoft-identity-web/microsoft-identity-web/global.json

Installed SDKs:

Install the [9.0.102] .NET SDK or update [/home/runner/work/microsoft-identity-web/microsoft-identity-web/global.json] to match an installed SDK.

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
8.0.406 [/usr/share/dotnet/sdk]
Error: Process completed with exit code 145.

Id Web logs

No response

Relevant code snippets

Run cd benchmark && dotnet run -c release -f net8.0 --filter 'Benchmarks.TokenAcquisitionBenchmark.*' --exporters json
The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application 'run' does not exist.
  * You intended to execute a .NET SDK command:
      A compatible .NET SDK was not found.

Requested SDK version: 9.0.102
global.json file: /home/runner/work/microsoft-identity-web/microsoft-identity-web/global.json

Installed SDKs:

Install the [9.0.102] .NET SDK or update [/home/runner/work/microsoft-identity-web/microsoft-identity-web/global.json] to match an installed SDK.

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
8.0.406 [/usr/share/dotnet/sdk]
Error: Process completed with exit code 145.

Regression

No response

Expected behavior

should run without errors

@gladjohn gladjohn added bug Something isn't working Build Issue labels Feb 26, 2025
@gladjohn gladjohn self-assigned this Feb 26, 2025
@jennyf19 jennyf19 removed the bug Something isn't working label Feb 27, 2025
@gladjohn gladjohn linked a pull request Feb 27, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants