Skip to content

fix: Support environments with only dotnet runtime for AssemblyAnalyzer#5087

Merged
jeremylong merged 1 commit intomainfrom
issue-5074
Nov 25, 2022
Merged

fix: Support environments with only dotnet runtime for AssemblyAnalyzer#5087
jeremylong merged 1 commit intomainfrom
issue-5074

Conversation

@aikebah
Copy link
Copy Markdown
Collaborator

@aikebah aikebah commented Nov 23, 2022

Fixes Issue #5074

Description of Change

Change the invocation for 'system-path' dotnet-detection from dotnet --version to dotnet --info as dotnet --version is only supported when a dotnet SDK is installed in addition to the dotnet runtime.

Have test cases been added to cover the new functionality?

no, existing tests cover the functionality, albeit with SDK installed. Proper test would require running the tests in an environment with only dotnet runtime installed. Locally tested that such an environment yields succesful tests of AssemblyAnalyzerTest.

…o to support runtime-only installs of dotnet

Fixes isseu #5074
@aikebah aikebah added this to the 7.4.0 milestone Nov 23, 2022
@boring-cyborg boring-cyborg Bot added the core changes to core label Nov 23, 2022
@jeremylong jeremylong merged commit bb8dae6 into main Nov 25, 2022
@jeremylong jeremylong deleted the issue-5074 branch November 25, 2022 11:06
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

core changes to core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants