FastScriptReload
FastScriptReload copied to clipboard
fix: indirect friend assemblies not weaved with InternalVisibleTo
This should be the fix of the following issue:
In case that we have two assemblies, one named A is the assembly to be changed, one named B is a friend assembly(aka [assembly:InternalsVisibleTo("A")]) of A. When reload triggered, once changed file in A has non-public reference to B, the compiler will throws with inaccessibility error.
With this patch, assembly B will be weaved with InternalsVisibleTo as well. Dotnet compilation will pass and B.dll will be seen under Temp\Fast Script Reload\AdjustedDlls.