dotnet / dotnet/project-system

Analyzer node files paths are invalid

Open
#2,558 9 comments 0 reactions 1 assignee Claimed by @tmeschter View on GitHub
Feature-Dependency-Node Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

Each tree node representing a analyzer in the dependency tree is returning the following as its moniker/canonical name/FilePath:

```
[project-directory]\[target-framework]\AnalyzerDependency\[full-path-of-analyzer]
```

For example:
```
c:\users\davkean\Source\Repos\ConsoleApp61\ConsoleApp61\netcoreapp1.1\AnalyzerDependency\C:\Users\davkean\.nuget\packages\microsoft.codeanalysis.analyzers\1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll
```

I believe we expect the moniker to be the analyzer file path, so this is likely breaking something @tmeschter what would be broken by this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.