In NativeAOT builds, we exclude native framework assemblies by relying on the name to end in "*.Native.dll" "msquic.dll".
|
<FrameworkAssemblies Include="$(IlcFrameworkPath)*.dll" Exclude="$(IlcFrameworkPath)*.Native.dll;$(IlcFrameworkPath)msquic.dll" /> |
It might be more reliable to use the ComputeManagedAssemblies Task from ILLink instead.
In NativeAOT builds, we exclude native framework assemblies by relying on the name to end in "*.Native.dll" "msquic.dll".
runtime/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
Line 159 in 2e77a42
It might be more reliable to use the ComputeManagedAssemblies Task from ILLink instead.