We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a60358c commit 73f2208Copy full SHA for 73f2208
1 file changed
src/NuGet.Clients/NuGet.CommandLine/ExtensionLocator.cs
@@ -112,7 +112,7 @@ private static IEnumerable<string> FindAll(
112
// and among other things breaks our build.
113
// Consequently, we'll use a convention - only binaries ending in the name Extensions would be loaded.
114
var nugetDirectory = Path.GetDirectoryName(typeof(Program).Assembly.Location);
115
- if (nugetDirectory == null)
+ if (string.IsNullOrEmpty(nugetDirectory))
116
{
117
return paths;
118
}
0 commit comments