-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
port some System.IO.Packaging, System.CodeDom, System.Collections.Immutable and System.Configuration.ConfigurationManager #55216
Conversation
Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer Issue Details
|
src/libraries/System.Collections.Immutable/pkg/System.Collections.Immutable.pkgproj
Show resolved
Hide resolved
src/libraries/System.Collections.Immutable/src/System.Collections.Immutable.csproj
Outdated
Show resolved
Hide resolved
...stem.Configuration.ConfigurationManager/src/System.Configuration.ConfigurationManager.csproj
Show resolved
Hide resolved
src/libraries/System.Collections.Immutable/src/System.Collections.Immutable.csproj
Outdated
Show resolved
Hide resolved
--git "a/E:\\diffs\\oldNuspecs\\/System.CodeDom.nuspec" "b/E:\\diffs\\NewNuspecs\\/System.CodeDom.nuspec"
index 9f2f1166b81..90a41ba097f 100644
--- "a/E:\\diffs\\oldNuspecs\\/System.CodeDom.nuspec"
+++ "b/E:\\diffs\\NewNuspecs\\/System.CodeDom.nuspec"
@@ -1,16 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
- <metadata minClientVersion="2.12">
+<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
+ <metadata>
<id>System.CodeDom</id>
<version>6.0.0-dev</version>
- <title>System.CodeDom</title>
<authors>Microsoft</authors>
- <owners>microsoft,dotnetframework</owners>
- <requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
+ <licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
<icon>Icon.png</icon>
<projectUrl>https://dot.net/</projectUrl>
- <iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
<description>Provides types that can be used to model the structure of a source code document and to output source code for that model in a supported language.
Commonly Used Types:
@@ -24,40 +21,26 @@ Microsoft.VisualBasic.VBCodeProvider</description>
<repository type="git" url="https://github.com/dotnet/runtime" commit="0000000000000000000000000000000000000000" />
<dependencies>
<group targetFramework=".NETFramework4.6.1" />
- <group targetFramework=".NETCoreApp6.0" />
+ <group targetFramework="net6.0" />
<group targetFramework=".NETStandard2.0" />
</dependencies>
- <frameworkAssemblies>
- <frameworkAssembly assemblyName="mscorlib" targetFramework=".NETFramework4.6.1" />
- <frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.6.1" />
- </frameworkAssemblies>
</metadata>
<files>
- <file src="net461-Debug\System.CodeDom.dll" target="lib\net461" exclude="" />
- <file src="net461-Debug\System.CodeDom.pdb" target="lib\net461" exclude="" />
- <file src="System.CodeDom.xml" target="lib\net461" exclude="" />
-
- <file src="net6.0-Debug\System.CodeDom.dll" target="lib\net6.0" exclude="" />
- <file src="net6.0-Debug\System.CodeDom.pdb" target="lib\net6.0" exclude="" />
- <file src="System.CodeDom.xml" target="lib\net6.0" exclude="" />
-
- <file src="System.CodeDom\netstandard2.0-Debug\System.CodeDom.dll" target="lib\netstandard2.0" exclude="" />
- <file src="System.CodeDom\netstandard2.0-Debug\System.CodeDom.pdb" target="lib\netstandard2.0" exclude="" />
- <file src="System.CodeDom.xml" target="lib\netstandard2.0" exclude="" />
-
- <file src="System.CodeDom\ref\net461-Debug\System.CodeDom.dll" target="ref\net461" exclude="" />
- <file src="System.CodeDom\ref\net461-Debug\System.CodeDom.pdb" target="ref\net461" exclude="" />
- <file src="System.CodeDom.xml" target="ref\net461" exclude="" />
- <file src="System.CodeDom\ref\net6.0-Debug\System.CodeDom.dll" target="ref\net6.0" exclude="" />
- <file src="System.CodeDom\ref\net6.0-Debug\System.CodeDom.pdb" target="ref\net6.0" exclude="" />
- <file src="System.CodeDom.xml" target="ref\net6.0" exclude="" />
- <file src="System.CodeDom\ref\netstandard2.0-Debug\System.CodeDom.dll" target="ref\netstandard2.0" exclude="" />
- <file src="System.CodeDom\ref\netstandard2.0-Debug\System.CodeDom.pdb" target="ref\netstandard2.0" exclude="" />
- <file src="System.CodeDom.xml" target="ref\netstandard2.0" exclude="" />
+ <file src="net461-Debug\System.CodeDom.dll" target="lib\net461\System.CodeDom.dll" />
+ <file src="net461-Debug\System.CodeDom.pdb" target="lib\net461\System.CodeDom.pdb" />
+ <file src="System.CodeDom.xml" target="lib\net461\System.CodeDom.xml" />
+
+ <file src="net6.0-Debug\System.CodeDom.dll" target="lib\net6.0\System.CodeDom.dll" />
+ <file src="net6.0-Debug\System.CodeDom.pdb" target="lib\net6.0\System.CodeDom.pdb" />
+ <file src="System.CodeDom.xml" target="lib\net6.0\System.CodeDom.xml" />
+
+ <file src="netstandard2.0-Debug\System.CodeDom.dll" target="lib\netstandard2.0\System.CodeDom.dll" />
+ <file src="netstandard2.0-Debug\System.CodeDom.pdb" target="lib\netstandard2.0\System.CodeDom.pdb" />
+ <file src="System.CodeDom.xml" target="lib\netstandard2.0\System.CodeDom.xml" />
- <file src="eng\useSharedDesignerContext.txt" target="useSharedDesignerContext.txt" exclude="" />
- <file src="DotNetPackageIcon.png" target="Icon.png" exclude="" />
- <file src="LICENSE.TXT" target="LICENSE.TXT" exclude="" />
- <file src="THIRD-PARTY-NOTICES.TXT" target="THIRD-PARTY-NOTICES.TXT" exclude="" />
+ <file src="eng\useSharedDesignerContext.txt" target="useSharedDesignerContext.txt" />
+ <file src="DotNetPackageIcon.png" target="Icon.png" />
+ <file src="LICENSE.TXT" target="LICENSE.TXT" />
+ <file src="THIRD-PARTY-NOTICES.TXT" target="THIRD-PARTY-NOTICES.TXT" />
</files>
</package>
\ No newline at end of file
diff --git "a/E:\\diffs\\oldNuspecs\\/System.Collections.Immutable.nuspec" "b/E:\\diffs\\NewNuspecs\\/System.Collections.Immutable.nuspec"
index 1a4c0b538a1..c624f6359eb 100644
--- "a/E:\\diffs\\oldNuspecs\\/System.Collections.Immutable.nuspec"
+++ "b/E:\\diffs\\NewNuspecs\\/System.Collections.Immutable.nuspec"
@@ -1,16 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
- <metadata minClientVersion="2.12">
+<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
+ <metadata>
<id>System.Collections.Immutable</id>
<version>6.0.0-dev</version>
- <title>System.Collections.Immutable</title>
<authors>Microsoft</authors>
- <owners>microsoft,dotnetframework</owners>
- <requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
+ <licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
<icon>Icon.png</icon>
<projectUrl>https://dot.net/</projectUrl>
- <iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
<description>This package provides collections that are thread safe and guaranteed to never change their contents, also known as immutable collections. Like strings, any methods that perform modifications will not change the existing instance but instead return a new instance. For efficiency reasons, the implementation uses a sharing mechanism to ensure that newly created instances share as much data as possible with the previous instance while ensuring that operations have a predictable time complexity.
Commonly Used Types:
@@ -35,59 +32,35 @@ System.Collections.Immutable.ImmutableStack<T></description>
<serviceable>true</serviceable>
<repository type="git" url="https://github.com/dotnet/runtime" commit="0000000000000000000000000000000000000000" />
<dependencies>
- <group targetFramework="MonoAndroid1.0">
- <dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0-dev" />
- </group>
- <group targetFramework="MonoTouch1.0">
- <dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0-dev" />
- </group>
<group targetFramework=".NETFramework4.6.1">
- <dependency id="System.Memory" version="4.5.4" />
- <dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0-dev" />
+ <dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0-dev" exclude="Build,Analyzers" />
+ <dependency id="System.Memory" version="4.5.4" exclude="Build,Analyzers" />
</group>
- <group targetFramework=".NETCoreApp6.0" />
- <group targetFramework=".NETCoreApp2.1">
- <dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0-dev" />
+ <group targetFramework="net6.0" />
<group targetFramework=".NETStandard2.0">
- <dependency id="System.Memory" version="4.5.4" />
- <dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0-dev" />
- </group>
- <group targetFramework="Xamarin.iOS1.0">
- <dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0-dev" />
- </group>
- <group targetFramework="Xamarin.Mac2.0">
- <dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0-dev" />
- </group>
- <group targetFramework="Xamarin.TVOS1.0">
- <dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0-dev" />
- </group>
- <group targetFramework="Xamarin.WatchOS1.0">
- <dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0-dev" />
+ <dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0-dev" exclude="Build,Analyzers" />
+ <dependency id="System.Memory" version="4.5.4" exclude="Build,Analyzers" />
</group>
</dependencies>
- <frameworkAssemblies>
- <frameworkAssembly assemblyName="mscorlib" targetFramework=".NETFramework4.6.1" />
- <frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.6.1" />
- <frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.6.1" />
- </frameworkAssemblies>
</metadata>
<files>
- <file src="System.Collections.Immutable\net461-Debug\System.Collections.Immutable.dll" target="lib\net461" exclude="" />
- <file src="System.Collections.Immutable\net461-Debug\System.Collections.Immutable.pdb" target="lib\net461" exclude="" />
- <file src="System.Collections.Immutable.xml" target="lib\net461" exclude="" />
+ <file src="System.Collections.Immutable\net461-Debug\System.Collections.Immutable.dll" target="lib\net461\System.Collections.Immutable.dll" />
+ <file src="System.Collections.Immutable\net461-Debug\System.Collections.Immutable.pdb" target="lib\net461\System.Collections.Immutable.pdb" />
+ <file src="System.Collections.Immutable.xml" target="lib\net461\System.Collections.Immutable.xml" />
- <file src="System.Collections.Immutable\net6.0-Debug\System.Collections.Immutable.dll" target="lib\net6.0" exclude="" />
- <file src="System.Collections.Immutable\net6.0-Debug\System.Collections.Immutable.pdb" target="lib\net6.0" exclude="" />
- <file src="System.Collections.Immutable.xml" target="lib\net6.0" exclude="" />
+ <file src="System.Collections.Immutable\net6.0-Debug\System.Collections.Immutable.dll" target="lib\net6.0\System.Collections.Immutable.dll" />
+ <file src="System.Collections.Immutable\net6.0-Debug\System.Collections.Immutable.pdb" target="lib\net6.0\System.Collections.Immutable.pdb" />
+ <file src="System.Collections.Immutable.xml" target="lib\net6.0\System.Collections.Immutable.xml" />
- <file src="System.Collections.Immutable\netstandard2.0-Debug\System.Collections.Immutable.dll" target="lib\netstandard2.0" exclude="" />
- <file src="System.Collections.Immutable\netstandard2.0-Debug\System.Collections.Immutable.pdb" target="lib\netstandard2.0" exclude="" />
- <file src="System.Collections.Immutable.xml" target="lib\netstandard2.0" exclude="" />
+ <file src="System.Collections.Immutable\netstandard2.0-Debug\System.Collections.Immutable.dll" target="lib\netstandard2.0\System.Collections.Immutable.dll" />
+ <file src="System.Collections.Immutable\netstandard2.0-Debug\System.Collections.Immutable.pdb" target="lib\netstandard2.0\System.Collections.Immutable.pdb" />
+ <file src="System.Collections.Immutable.xml" target="lib\netstandard2.0\System.Collections.Immutable.xml" />
- <file src="eng\useSharedDesignerContext.txt" target="useSharedDesignerContext.txt" exclude="" />
- <file src="DotNetPackageIcon.png" target="Icon.png" exclude="" />
- <file src="LICENSE.TXT" target="LICENSE.TXT" exclude="" />
- <file src="THIRD-PARTY-NOTICES.TXT" target="THIRD-PARTY-NOTICES.TXT" exclude="" />
+ <file src="eng\useSharedDesignerContext.txt" target="useSharedDesignerContext.txt" />
+ <file src="DotNetPackageIcon.png" target="Icon.png" />
+ <file src="LICENSE.TXT" target="LICENSE.TXT" />
+ <file src="THIRD-PARTY-NOTICES.TXT" target="THIRD-PARTY-NOTICES.TXT" />
</files>
</package>
\ No newline at end of file
diff --git "a/E:\\diffs\\oldNuspecs\\/System.Configuration.ConfigurationManager.nuspec" "b/E:\\diffs\\NewNuspecs\\/System.Configuration.ConfigurationManager.nuspec"
index ccf53b986f3..103feb82a68 100644
--- "a/E:\\diffs\\oldNuspecs\\/System.Configuration.ConfigurationManager.nuspec"
+++ "b/E:\\diffs\\NewNuspecs\\/System.Configuration.ConfigurationManager.nuspec"
@@ -1,16 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
- <metadata minClientVersion="2.12">
+<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
+ <metadata>
<id>System.Configuration.ConfigurationManager</id>
<version>6.0.0-dev</version>
- <title>System.Configuration.ConfigurationManager</title>
<authors>Microsoft</authors>
- <owners>microsoft,dotnetframework</owners>
- <requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
+ <licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
<icon>Icon.png</icon>
<projectUrl>https://dot.net/</projectUrl>
- <iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
<description>Provides types that support using configuration files.
Commonly Used Types:
@@ -21,69 +18,38 @@ System.Configuration.ConfigurationManager</description>
<serviceable>true</serviceable>
<repository type="git" url="https://github.com/dotnet/runtime" commit="0000000000000000000000000000000000000000" />
<dependencies>
- <group targetFramework="MonoAndroid1.0">
- <dependency id="System.Security.Permissions" version="6.0.0-dev" />
- </group>
- <group targetFramework="MonoTouch1.0">
- <dependency id="System.Security.Permissions" version="6.0.0-dev" />
- </group>
<group targetFramework=".NETFramework4.6.1">
- <dependency id="System.Security.Permissions" version="6.0.0-dev" />
+ <dependency id="System.Security.Permissions" version="6.0.0-dev" exclude="Build,Analyzers" />
</group>
- <group targetFramework=".NETCoreApp6.0">
- <dependency id="System.Security.Cryptography.ProtectedData" version="6.0.0-dev" exclude="Compile" />
- <dependency id="System.Security.Permissions" version="6.0.0-dev" />
+ <group targetFramework="net6.0">
+ <dependency id="System.Security.Cryptography.ProtectedData" version="6.0.0-dev" exclude="Build,Analyzers" />
+ <dependency id="System.Security.Permissions" version="6.0.0-dev" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.0">
- <dependency id="System.Security.Cryptography.ProtectedData" version="6.0.0-dev" exclude="Compile" />
- <dependency id="System.Security.Permissions" version="6.0.0-dev" />
- </group>
- <group targetFramework="Xamarin.iOS1.0">
- <dependency id="System.Security.Permissions" version="6.0.0-dev" />
- </group>
- <group targetFramework="Xamarin.Mac2.0">
- <dependency id="System.Security.Permissions" version="6.0.0-dev" />
- </group>
- <group targetFramework="Xamarin.TVOS1.0">
- <dependency id="System.Security.Permissions" version="6.0.0-dev" />
- </group>
- <group targetFramework="Xamarin.WatchOS1.0">
- <dependency id="System.Security.Permissions" version="6.0.0-dev" />
+ <dependency id="System.Security.Cryptography.ProtectedData" version="6.0.0-dev" exclude="Build,Analyzers" />
+ <dependency id="System.Security.Permissions" version="6.0.0-dev" exclude="Build,Analyzers" />
</group>
</dependencies>
<frameworkAssemblies>
- <frameworkAssembly assemblyName="mscorlib" targetFramework=".NETFramework4.6.1" />
- <frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.6.1" />
<frameworkAssembly assemblyName="System.Configuration" targetFramework=".NETFramework4.6.1" />
- <frameworkAssembly assemblyName="System.Drawing" targetFramework=".NETFramework4.6.1" />
</frameworkAssemblies>
</metadata>
<files>
- <file src="System.Configuration.ConfigurationManager\net461-Debug\System.Configuration.ConfigurationManager.dll" target="lib\net461" exclude="" />
- <file src="System.Configuration.ConfigurationManager\net461-Debug\System.Configuration.ConfigurationManager.pdb" target="lib\net461" exclude="" />
- <file src="System.Configuration.ConfigurationManager.xml" target="lib\net461" exclude="" />
-
- <file src="System.Configuration.ConfigurationManager\net6.0-Debug\System.Configuration.ConfigurationManager.dll" target="lib\net6.0" exclude="" />
- <file src="System.Configuration.ConfigurationManager\net6.0-Debug\System.Configuration.ConfigurationManager.pdb" target="lib\net6.0" exclude="" />
- <file src="System.Configuration.ConfigurationManager.xml" target="lib\net6.0" exclude="" />
+ <file src="artifacts\bin\System.Configuration.ConfigurationManager\net461-Debug\System.Configuration.ConfigurationManager.dll" target="lib\net461\System.Configuration.ConfigurationManager.dll" />
+ <file src="artifacts\bin\System.Configuration.ConfigurationManager\net461-Debug\System.Configuration.ConfigurationManager.pdb" target="lib\net461\System.Configuration.ConfigurationManager.pdb" />
+ <file src="System.Configuration.ConfigurationManager.xml" target="lib\net461\System.Configuration.ConfigurationManager.xml" />
- <file src="System.Configuration.ConfigurationManager\netstandard2.0-Debug\System.Configuration.ConfigurationManager.dll" target="lib\netstandard2.0" exclude="" />
- <file src="System.Configuration.ConfigurationManager\netstandard2.0-Debug\System.Configuration.ConfigurationManager.pdb" target="lib\netstandard2.0" exclude="" />
- <file src="System.Configuration.ConfigurationManager.xml" target="lib\netstandard2.0" exclude="" />
+ <file src="artifacts\bin\System.Configuration.ConfigurationManager\net6.0-Debug\System.Configuration.ConfigurationManager.dll" target="lib\net6.0\System.Configuration.ConfigurationManager.dll" />
+ <file src="artifacts\bin\System.Configuration.ConfigurationManager\net6.0-Debug\System.Configuration.ConfigurationManager.pdb" target="lib\net6.0\System.Configuration.ConfigurationManager.pdb" />
+ <file src="System.Configuration.ConfigurationManager.xml" target="lib\net6.0\System.Configuration.ConfigurationManager.xml" />
- <file src="System.Configuration.ConfigurationManager\ref\net461-Debug\System.Configuration.ConfigurationManager.dll" target="ref\net461" exclude="" />
- <file src="System.Configuration.ConfigurationManager\ref\net461-Debug\System.Configuration.ConfigurationManager.pdb" target="ref\net461" exclude="" />
- <file src="System.Configuration.ConfigurationManager.xml" target="ref\net461" exclude="" />
- <file src="System.Configuration.ConfigurationManager\ref\net6.0-Debug\System.Configuration.ConfigurationManager.dll" target="ref\net6.0" exclude="" />
- <file src="System.Configuration.ConfigurationManager\ref\net6.0-Debug\System.Configuration.ConfigurationManager.pdb" target="ref\net6.0" exclude="" />
- <file src="System.Configuration.ConfigurationManager.xml" target="ref\net6.0" exclude="" />
- <file src="System.Configuration.ConfigurationManager\ref\netstandard2.0-Debug\System.Configuration.ConfigurationManager.dll" target="ref\netstandard2.0" exclude="" />
- <file src="System.Configuration.ConfigurationManager\ref\netstandard2.0-Debug\System.Configuration.ConfigurationManager.pdb" target="ref\netstandard2.0" exclude="" />
- <file src="System.Configuration.ConfigurationManager.xml" target="ref\netstandard2.0" exclude="" />
+ <file src="artifacts\bin\System.Configuration.ConfigurationManager\netstandard2.0-Debug\System.Configuration.ConfigurationManager.dll" target="lib\netstandard2.0\System.Configuration.ConfigurationManager.dll" />
+ <file src="artifacts\bin\System.Configuration.ConfigurationManager\netstandard2.0-Debug\System.Configuration.ConfigurationManager.pdb" target="lib\netstandard2.0\System.Configuration.ConfigurationManager.pdb" />
+ <file src="System.Configuration.ConfigurationManager.xml" target="lib\netstandard2.0\System.Configuration.ConfigurationManager.xml" />
- <file src="eng\useSharedDesignerContext.txt" target="useSharedDesignerContext.txt" exclude="" />
- <file src="DotNetPackageIcon.png" target="Icon.png" exclude="" />
- <file src="LICENSE.TXT" target="LICENSE.TXT" exclude="" />
- <file src="THIRD-PARTY-NOTICES.TXT" target="THIRD-PARTY-NOTICES.TXT" exclude="" />
+ <file src="eng\useSharedDesignerContext.txt" target="useSharedDesignerContext.txt" />
+ <file src="DotNetPackageIcon.png" target="Icon.png" />
+ <file src="LICENSE.TXT" target="LICENSE.TXT" />
+ <file src="THIRD-PARTY-NOTICES.TXT" target="THIRD-PARTY-NOTICES.TXT" />
</files>
</package>
\ No newline at end of file
diff --git "a/E:\\diffs\\oldNuspecs\\/System.IO.Packaging.nuspec" "b/E:\\diffs\\NewNuspecs\\/System.IO.Packaging.nuspec"
index 3af87f1d23f..915d4d80645 100644
--- "a/E:\\diffs\\oldNuspecs\\/System.IO.Packaging.nuspec"
+++ "b/E:\\diffs\\NewNuspecs\\/System.IO.Packaging.nuspec"
@@ -1,16 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
- <metadata minClientVersion="2.12">
+<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
+ <metadata>
<id>System.IO.Packaging</id>
<version>6.0.0-dev</version>
- <title>System.IO.Packaging</title>
<authors>Microsoft</authors>
- <owners>microsoft,dotnetframework</owners>
- <requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
+ <licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
<icon>Icon.png</icon>
<projectUrl>https://dot.net/</projectUrl>
- <iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
<description>Provides classes that support storage of multiple data objects in a single container.</description>
<releaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</releaseNotes>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
@@ -18,43 +15,32 @@
<repository type="git" url="https://github.com/dotnet/runtime" commit="0000000000000000000000000000000000000000" />
<dependencies>
<group targetFramework=".NETFramework4.6.1" />
- <group targetFramework=".NETCoreApp6.0" />
+ <group targetFramework="net6.0" />
<group targetFramework=".NETStandard2.0" />
</dependencies>
<frameworkAssemblies>
- <frameworkAssembly assemblyName="mscorlib" targetFramework=".NETFramework4.6.1" />
<frameworkAssembly assemblyName="WindowsBase" targetFramework=".NETFramework4.6.1" />
</frameworkAssemblies>
</metadata>
<files>
- <file src="System.IO.Packaging\net461-Debug\System.IO.Packaging.dll" target="lib\net461" exclude="" />
- <file src="System.IO.Packaging\net461-Debug\System.IO.Packaging.pdb" target="lib\net461" exclude="" />
- <file src="System.IO.Packaging.xml" target="lib\net461" exclude="" />
+ <file src="System.IO.Packaging\net461-Debug\System.IO.Packaging.dll" target="lib\net461\System.IO.Packaging.dll" />
+ <file src="System.IO.Packaging\net461-Debug\System.IO.Packaging.pdb" target="lib\net461\System.IO.Packaging.pdb" />
+ <file src="System.IO.Packaging.xml" target="lib\net461\System.IO.Packaging.xml" />
- <file src="System.IO.Packaging\net6.0-Debug\System.IO.Packaging.dll" target="lib\net6.0" exclude="" />
- <file src="System.IO.Packaging\net6.0-Debug\System.IO.Packaging.pdb" target="lib\net6.0" exclude="" />
- <file src="System.IO.Packaging.xml" target="lib\net6.0" exclude="" />
+ <file src="System.IO.Packaging\net6.0-Debug\System.IO.Packaging.dll" target="lib\net6.0\System.IO.Packaging.dll" />
+ <file src="System.IO.Packaging\net6.0-Debug\System.IO.Packaging.pdb" target="lib\net6.0\System.IO.Packaging.pdb" />
+ <file src="System.IO.Packaging.xml" target="lib\net6.0\System.IO.Packaging.xml" />
- <file src="System.IO.Packaging\netstandard2.0-Debug\System.IO.Packaging.dll" target="lib\netstandard2.0" exclude="" />
- <file src="System.IO.Packaging\netstandard2.0-Debug\System.IO.Packaging.pdb" target="lib\netstandard2.0" exclude="" />
- <file src="System.IO.Packaging.xml" target="lib\netstandard2.0" exclude="" />
+ <file src="System.IO.Packaging\netstandard2.0-Debug\System.IO.Packaging.dll" target="lib\netstandard2.0\System.IO.Packaging.dll" />
+ <file src="System.IO.Packaging\netstandard2.0-Debug\System.IO.Packaging.pdb" target="lib\netstandard2.0\System.IO.Packaging.pdb" />
+ <file src="System.IO.Packaging.xml" target="lib\netstandard2.0\System.IO.Packaging.xml" />
- <file src="System.IO.Packaging\ref\net461-Debug\System.IO.Packaging.dll" target="ref\net461" exclude="" />
- <file src="System.IO.Packaging\ref\net461-Debug\System.IO.Packaging.pdb" target="ref\net461" exclude="" />
- <file src="System.IO.Packaging.xml" target="ref\net461" exclude="" />
- <file src="System.IO.Packaging\ref\net6.0-Debug\System.IO.Packaging.dll" target="ref\net6.0" exclude="" />
- <file src="System.IO.Packaging\ref\net6.0-Debug\System.IO.Packaging.pdb" target="ref\net6.0" exclude="" />
- <file src="System.IO.Packaging.xml" target="ref\net6.0" exclude="" />
- <file src="System.IO.Packaging\ref\netstandard2.0-Debug\System.IO.Packaging.dll" target="ref\netstandard2.0" exclude="" />
- <file src="System.IO.Packaging\ref\netstandard2.0-Debug\System.IO.Packaging.pdb" target="ref\netstandard2.0" exclude="" />
- <file src="System.IO.Packaging.xml" target="ref\netstandard2.0" exclude="" />
+ <file src="eng\useSharedDesignerContext.txt" target="useSharedDesignerContext.txt" />
+ <file src="DotNetPackageIcon.png" target="Icon.png" />
+ <file src="LICENSE.TXT" target="LICENSE.TXT" />
+ <file src="THIRD-PARTY-NOTICES.TXT" target="THIRD-PARTY-NOTICES.TXT" />
- <file src="eng\useSharedDesignerContext.txt" target="useSharedDesignerContext.txt" exclude="" />
- <file src="DotNetPackageIcon.png" target="Icon.png" exclude="" />
- <file src="LICENSE.TXT" target="LICENSE.TXT" exclude="" />
- <file src="THIRD-PARTY-NOTICES.TXT" target="THIRD-PARTY-NOTICES.TXT" exclude="" />
-
- <file src="artifacts\obj\System.IO.Packaging\netstandardcompaterrors\netcoreapp2.0\System.IO.Packaging.targets" target="buildTransitive\netcoreapp2.0" exclude="" />
- <file src="C:\Users\anagniho\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21330.2\build\content\_._" target="buildTransitive\netcoreapp3.1" exclude="" />
+ <file src="artifacts\obj\System.IO.Packaging\netstandardcompaterrors\netcoreapp2.0\System.IO.Packaging.targets" target="buildTransitive\netcoreapp2.0\System.IO.Packaging.targets" />
+ <file src="eng\_._" target="buildTransitive\netcoreapp3.1\_._" />
</files>
</package>
\ No newline at end of file
added diffs |
src/libraries/System.IO.Pipes.AccessControl/src/System.IO.Pipes.AccessControl.csproj
Show resolved
Hide resolved
add comment automate adding of trimming inbox dependencies for .net remove is packable Apply suggestions from code review Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com> fix the all config build add support to use oob version of inbox dependencies
eng/references.targets
Outdated
Condition="$(NetCoreAppLibrary.Contains('%(Filename);'))" /> | ||
<ProjectReference PrivateAssets="all" | ||
Private="false" | ||
Condition="$(NetCoreAppLibrary.Contains('%(Filename);')) and '%(ProjectReference.DonotUseInboxVersion)' != 'true'" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nit: DonotUseInboxVersion
might be easier to read if we name it DontUseInboxVersion
@@ -29,8 +29,8 @@ | |||
<ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Extensions.Options\src\Microsoft.Extensions.Options.csproj" /> | |||
<ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Extensions.Primitives\src\Microsoft.Extensions.Primitives.csproj" /> | |||
<!-- Application tfms (.NETCoreApp, .NETFramework) need to use the same or higher version of .NETStandard's dependencies. --> | |||
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime.CompilerServices.Unsafe\src\System.Runtime.CompilerServices.Unsafe.ilproj" /> | |||
<ProjectReference Include="$(LibrariesProjectRoot)System.Text.Json\src\System.Text.Json.csproj" /> | |||
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime.CompilerServices.Unsafe\src\System.Runtime.CompilerServices.Unsafe.ilproj" DonotUseInboxVersion="true" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to calculate when to use inbox version and when to not? What is the guideline for when to set this and when to not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need DonotUseInboxVersion
?
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<!-- These types are forwarded on net461 https://github.com/dotnet/sdk/issues/18203--> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we instead use the global suppression? Rather than listing every forwarded type on net461, instead set one entry with the DiagnosticId and the left and right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that doesn't work, maybe we should support it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can now simplify these as we have updated the validation to include: dotnet/sdk#19123
Added the necessary infra to trim out inbox dependencies which aren't packable. Thanks @ericstj for the help. Let's see if that already works. |
eng/references.targets
Outdated
Private="false" | ||
Condition="$(NetCoreAppLibrary.Contains('%(Filename);'))" /> | ||
<_noPackageNetCoreAppLibrary Include="@(NetCoreAppLibrary)" | ||
Condition="'%(NetCoreAppLibrary.IsPackable)' != 'true'" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the only consumer of this metadata is as a list without IsPackable, perhaps we can just store it that way and avoid the metadata? IOW we have NoPackageNetCoreAppLibrary
item statically defined instead of calculated in this target.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer metadata over a separate list. Please check my latest changes in which I removed the target entirely in favor of static evaluation.
I don't understand why S.R.CompilerServices.Unsafe.pdb is causing a conflict during publish:
I would expect that conflict resolution would trim out the first pdb in favor of the second as that one comes via the runtime pack. @ericstj any ideas? Here's the binlog: https://dev.azure.com/dnceng/_apis/resources/Containers/7744321/Logs_Build_Browser__wasm_Release_AllSubsets_Mono_WasmBuildTests?itemPath=Logs_Build_Browser__wasm_Release_AllSubsets_Mono_WasmBuildTests%2FRelease%2FBuild.binlog. |
Conflict resolution doesn't look at ProjectReference output dotnet/sdk#2674. This is related. It looks like RAR is the one discovering the PDB:
Then it gets added to The binlog shows the |
Great analysis @ericstj. You might want to open an issue in dotnet/sdk and write down the current target sequence and the desired one? Apart from that, to get this PR in soon, do you know of a workaround? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
// will add the diff soon