Closed vitek-karas closed 5 months ago
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas See info in area-owners.md if you want to be subscribed.
Author: | vitek-karas |
---|---|
Assignees: | - |
Labels: | `area-NativeAOT-coreclr` |
Milestone: | - |
I believe this was fixed with #101799
Yep.
Using a project file like this:
This should end up adding
--nosinglewarnassembly:System.Xml
to the ilc command line. But in reality it adds--nosinglewarnassembly:System
.The bug is very likely in https://github.com/dotnet/runtime/blob/c7fd55cd4051b009d4cb7564c8246b6b8b337724/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets#L276C45-L276C45
The item group
_IlcNoSingleWarnAssemblies
already contains simple names of assemblies, not file names. So using%(Filename)
seems to remove another "extension" from the name.