Skip to content

Commit

Permalink
fix: recognise more source generator locations
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavisau committed Mar 6, 2024
1 parent a5cf61e commit 9ba76b1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -68,7 +68,7 @@ public SourceGeneratorResolver(ILogger<SourceGeneratorResolver> logger, IFileSys
Diags: ImmutableDictionary.Create<string, object>());
}

var searches = new[] { "roslyn4.0/cs", "roslyn4.0\\cs", "analyzers/dotnet/cs", "analyzers\\dotnet\\cs" };
var searches = new[] { "roslyn4.0/cs", "roslyn4.0\\cs", "analyzers/dotnet/cs", "analyzers\\dotnet\\cs", "analyzers/dotnet/roslyn4.0", "analyzers\\dotnet\\roslyn4.0", };

var nugetPath = _fileSystem.Path.Combine(GetNugetPackageCachePath, package, version);
var dllPaths = _fileSystem.Directory.GetFiles(nugetPath, "*.dll", SearchOption.AllDirectories)
Expand Down

0 comments on commit 9ba76b1

Please sign in to comment.