diff --git a/src/coreclr/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets b/src/coreclr/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets index 845e8fccfd8d3c..331fa460c6ba38 100644 --- a/src/coreclr/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets +++ b/src/coreclr/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets @@ -14,8 +14,10 @@ - <_ILLinkDescriptorsFilePaths Include="$(ILLinkDirectory)ILLink.Descriptors.xml" /> + <_ILLinkDescriptorsFilePaths Include="$(ILLinkDirectory)ILLink.Descriptors.Shared.xml" /> + <_ILLinkDescriptorsFilePaths Condition="'$(TargetsWindows)' == 'true'" Include="$(ILLinkDirectory)ILLink.Descriptors.Windows.xml" /> <_ILLinkDescriptorsFilePaths Include="$(CoreLibSharedDir)ILLink\ILLink.Descriptors.Shared.xml" /> + <_ILLinkDescriptorsFilePaths Include="$(CoreLibSharedDir)ILLink\ILLink.Descriptors.EventSource.xml" /> - - - diff --git a/src/coreclr/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.Windows.xml b/src/coreclr/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.Windows.xml new file mode 100644 index 00000000000000..0648aed9763d13 --- /dev/null +++ b/src/coreclr/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.Windows.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/libraries/Microsoft.CSharp/src/ILLink/ILLink.Descriptors.xml b/src/libraries/Microsoft.CSharp/src/ILLink/ILLink.Descriptors.Shared.xml similarity index 73% rename from src/libraries/Microsoft.CSharp/src/ILLink/ILLink.Descriptors.xml rename to src/libraries/Microsoft.CSharp/src/ILLink/ILLink.Descriptors.Shared.xml index 25a8429f396d3f..c572a3e06c4683 100644 --- a/src/libraries/Microsoft.CSharp/src/ILLink/ILLink.Descriptors.xml +++ b/src/libraries/Microsoft.CSharp/src/ILLink/ILLink.Descriptors.Shared.xml @@ -1,9 +1,4 @@ - - - - - diff --git a/src/libraries/Microsoft.CSharp/src/ILLink/ILLink.Descriptors.Windows.xml b/src/libraries/Microsoft.CSharp/src/ILLink/ILLink.Descriptors.Windows.xml new file mode 100644 index 00000000000000..4bf5dd43f040f8 --- /dev/null +++ b/src/libraries/Microsoft.CSharp/src/ILLink/ILLink.Descriptors.Windows.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/libraries/Microsoft.CSharp/src/Microsoft.CSharp.csproj b/src/libraries/Microsoft.CSharp/src/Microsoft.CSharp.csproj index 1a5bbb93ca99f4..322c4c10680fec 100644 --- a/src/libraries/Microsoft.CSharp/src/Microsoft.CSharp.csproj +++ b/src/libraries/Microsoft.CSharp/src/Microsoft.CSharp.csproj @@ -9,6 +9,10 @@ $(DefineConstants);ENABLECOMBINDER true + + + + diff --git a/src/libraries/Microsoft.VisualBasic.Core/src/ILLink/ILLink.Descriptors.xml b/src/libraries/Microsoft.VisualBasic.Core/src/ILLink/ILLink.Descriptors.Windows.xml similarity index 100% rename from src/libraries/Microsoft.VisualBasic.Core/src/ILLink/ILLink.Descriptors.xml rename to src/libraries/Microsoft.VisualBasic.Core/src/ILLink/ILLink.Descriptors.Windows.xml diff --git a/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft.VisualBasic.Core.vbproj b/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft.VisualBasic.Core.vbproj index 3724c9fb49baa9..d14aa9f72e4075 100644 --- a/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft.VisualBasic.Core.vbproj +++ b/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft.VisualBasic.Core.vbproj @@ -18,6 +18,9 @@ $(NetCoreAppCurrent);$(NetCoreAppCurrent)-windows + + $(MSBuildProjectDirectory)\ILLink\ILLink.Descriptors.Windows.xml + diff --git a/src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.EventSource.xml b/src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.EventSource.xml new file mode 100644 index 00000000000000..3cdf676501162c --- /dev/null +++ b/src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.EventSource.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.Shared.xml b/src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.Shared.xml index 3c93283df29b54..1989afaeda1bd5 100644 --- a/src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.Shared.xml +++ b/src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.Shared.xml @@ -61,10 +61,4 @@ - - - - - - diff --git a/src/libraries/illink-sharedframework.targets b/src/libraries/illink-sharedframework.targets index 1a0df98022d721..ac28f2824bc228 100644 --- a/src/libraries/illink-sharedframework.targets +++ b/src/libraries/illink-sharedframework.targets @@ -14,19 +14,6 @@ $(ILLinkArgs) $(RuntimePackILLinkArgs) -b true - - IL2009;IL2025 - - $(LinkerNoWarn);IL2008 - $(LinkerNoWarn);IL2012 - $(RuntimePackILLinkArgs) --nowarn $(LinkerNoWarn) diff --git a/src/mono/System.Private.CoreLib/System.Private.CoreLib.csproj b/src/mono/System.Private.CoreLib/System.Private.CoreLib.csproj index b6b4f889a81fb4..6f12b7071d678e 100644 --- a/src/mono/System.Private.CoreLib/System.Private.CoreLib.csproj +++ b/src/mono/System.Private.CoreLib/System.Private.CoreLib.csproj @@ -132,6 +132,7 @@ +