Child references

Hi, (91.4 KB)
In the attached app System.Runtime.CompilerServices.Unsafe is a reference of System.Threading.TasksExtensions. The extensions one is being copied but not unsafe.


That’s because both ./lib and ./ref only have .NETStandard, and the project is .NET.

Back last week when I fixed that the compile should use files from ./ref while copy-local should use the versions from ./lib, we determined that ./lib should only be copy-localed when it had an exact framework match (eg a “net45” folder, but not just a “netstndard” one).

As you recall, this was the issue where System.Buffer was copy-local’ed when it shouldn’t have been. This is at the same situation. If I change this, System.Buffer will break again…