dotnet / dotnet/roslyn

Roslyn should not shadow copy redirected razor assemblies

Open
#85,629 0 comments 1 reaction 1 assignee Claimed by @chsienki View on GitHub
Area-Razor
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

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.

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.