Skip to content

Unable to view multiple roslyn generator files with the same name #50714

@TIPConsulting

Description

@TIPConsulting

Version Used: VS 16.9.0 Preview 3.0

Steps to Reproduce:

  1. Create 2 projects with roslyn code generators, A and B. Projects A and B use the same roslyn analyzer
    Pic

  2. Project B references Project A.

  3. Try to open both of the generated files with the same name.

Expected Behavior: When opening the generated files, file A should be different from file B

Actual Behavior: Both file links open the same physical file. Additionally, when using F12 on members of the generated files, you will be pointed to the same file whether you are trying to view A.GeneratedMember or B.GeneratedMember

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions