Skip to content

Roslyn should not shadow copy redirected razor assemblies #12307

@chsienki

Description

@chsienki

In VS, Razor redirects the compiler assemblies via an IAnalyzerRedirector mechanism. However, it doens't implement an IAnalyzerPathResolver which means that the assemblies are shadow copied.

That is not just an unnecessary perf penalty but can cause issues with ALC resolution.

We should implement a path resolver as well, so that our redirected assemblies are never shadow copied.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions