From 91bf61262bfe90378e2072dba1b5a3a079d6fb54 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Thu, 5 Aug 2021 11:03:23 +0200 Subject: [PATCH] Replace all remaining pkgprojs with NuGet Pack task (#56712) * Runtime specific and doc file packaging fixes * Replace all remaining pkgprojs with NuGet Pack task * Avoid NuGet/Home/issues/10368 * Update PackageValidation package to latest --- Directory.Build.props | 4 ---- ...em.Runtime.CompilerServices.Unsafe.pkgproj | 24 ------------------- src/CompatibilitySuppressions.xml | 11 +++++++++ ...tem.Runtime.CompilerServices.Unsafe.ilproj | 8 +++++++ 4 files changed, 19 insertions(+), 28 deletions(-) delete mode 100644 pkg/System.Runtime.CompilerServices.Unsafe.pkgproj create mode 100644 src/CompatibilitySuppressions.xml diff --git a/Directory.Build.props b/Directory.Build.props index efa9bc2f8..e8d65546d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,9 +2,5 @@ Microsoft - Provides the System.Runtime.CompilerServices.Unsafe class, which provides generic, low-level functionality for manipulating pointers. - -Commonly Used Types: -System.Runtime.CompilerServices.Unsafe diff --git a/pkg/System.Runtime.CompilerServices.Unsafe.pkgproj b/pkg/System.Runtime.CompilerServices.Unsafe.pkgproj deleted file mode 100644 index 90d23508d..000000000 --- a/pkg/System.Runtime.CompilerServices.Unsafe.pkgproj +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - - - - - - .NETCoreApp;UAP - - - - - - - - \ No newline at end of file diff --git a/src/CompatibilitySuppressions.xml b/src/CompatibilitySuppressions.xml new file mode 100644 index 000000000..df781eabe --- /dev/null +++ b/src/CompatibilitySuppressions.xml @@ -0,0 +1,11 @@ + + + + PKV006 + .NETStandard,Version=v1.0 + + + PKV006 + .NETFramework,Version=v4.5 + + \ No newline at end of file diff --git a/src/System.Runtime.CompilerServices.Unsafe.ilproj b/src/System.Runtime.CompilerServices.Unsafe.ilproj index d742a0bf2..db5ffe9e0 100644 --- a/src/System.Runtime.CompilerServices.Unsafe.ilproj +++ b/src/System.Runtime.CompilerServices.Unsafe.ilproj @@ -7,6 +7,11 @@ $(CoreCompileDependsOn);GenerateVersionFile $(MSBuildThisFileDirectory)System.Runtime.CompilerServices.Unsafe.xml $(IlasmFlags) -DEBUG=$(DebugOptimization) + true + Provides the System.Runtime.CompilerServices.Unsafe class, which provides generic, low-level functionality for manipulating pointers. + +Commonly Used Types: +System.Runtime.CompilerServices.Unsafe #define netcoreapp @@ -27,6 +32,9 @@ + + +