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

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

Merged
merged 1 commit into from Nov 25, 2022

Conversation

aikebah
Copy link
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core changes to core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants