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

PluginFactory should default to dotnet in the path to start a plugin if DOTNET_HOST_PATH is not set #3335

Merged
merged 3 commits into from Apr 15, 2020

Conversation

olivier-spinelli
Copy link
Contributor

@olivier-spinelli olivier-spinelli commented Apr 8, 2020

Bug

Fixes: NuGet/Home#7438
Regression: No

Last working version:
How are we preventing it in future:

Fix

Simple fallback on "dotnet.exe" or "dotnet" when DOTNET_HOST_PATH environment variable is not defined.

Testing/Validation
Tests Added: No
Reason for not adding tests: Relying on the existing tests.

@olivier-spinelli olivier-spinelli changed the title Fixed https://github.com/NuGet/Home/issues/7438 Fixed #7438 Apr 8, 2020
@nkolev92 nkolev92 changed the title Fixed #7438 PluginFactory should default to dotnet in the path to start a plugin if DOTNET_HOST_PATH is not set Apr 8, 2020
@nkolev92 nkolev92 self-assigned this Apr 8, 2020
@nkolev92 nkolev92 added the Community PRs created by someone not in the NuGet team label Apr 8, 2020
Using the full name  `NuGet.Common.RuntimeEnvironmentHelper.IsWindows`:
this avoids a `using NuGet.Common` that would be useless when
`IS_DESKTOP` (and would have need a ugly `#if !IS_DESKTOP` conditional).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community PRs created by someone not in the NuGet team
Projects
None yet
2 participants