diff --git a/docs/coding-guidelines/libraries-packaging.md b/docs/coding-guidelines/libraries-packaging.md index 66909e4df85..be1a1c8ae8f 100644 --- a/docs/coding-guidelines/libraries-packaging.md +++ b/docs/coding-guidelines/libraries-packaging.md @@ -92,6 +92,3 @@ In order to mitigate design-time/build-time performance issues with source gener CustomPropertyName ``` - -### .NETFramework RID specific assets -When targeting .NETFramework, RID specific assets are automatically added to the package if the project contains other compatible RID specific assets, mainly `netstandard2.0-windows`. diff --git a/eng/BeforeTargetFrameworkInference.targets b/eng/BeforeTargetFrameworkInference.targets index b82462e1acc..60b41284548 100644 --- a/eng/BeforeTargetFrameworkInference.targets +++ b/eng/BeforeTargetFrameworkInference.targets @@ -1,20 +1,5 @@ - - <_OriginalTargetFramework>$(TargetFramework) - $(TargetFramework.SubString($([MSBuild]::Add($(TargetFramework.IndexOf('-')), 1)))) - - $([System.Text.RegularExpressions.Regex]::Replace('$(TargetFramework)', '$(TargetFrameworkPattern)', '${1}')) - - - - $([MSBuild]::NormalizeDirectory('$(BaseIntermediateOutputPath)', '$(TargetFramework)-$(Configuration)')) - $([MSBuild]::NormalizeDirectory('$(BaseIntermediateOutputPath)', '$(TargetFramework)-$(TargetFrameworkSuffix)-$(Configuration)')) - - $([MSBuild]::NormalizeDirectory('$(BaseOutputPath)', '$(TargetFramework)-$(Configuration)')) - $([MSBuild]::NormalizeDirectory('$(BaseOutputPath)', '$(TargetFramework)-$(TargetFrameworkSuffix)-$(Configuration)')) - - diff --git a/eng/build.ps1 b/eng/build.ps1 index 83b9e5104d9..b424add6fdd 100644 --- a/eng/build.ps1 +++ b/eng/build.ps1 @@ -216,10 +216,7 @@ if ($vs) { # Respect the RuntimeConfiguration variable for building inside VS with different runtime configurations $env:RUNTIMECONFIGURATION=$runtimeConfiguration } - - # Restore the solution to workaround https://github.com/dotnet/runtime/issues/32205 - Invoke-Expression "& dotnet restore $vs" - + # Launch Visual Studio with the locally defined environment variables ."$vs" diff --git a/eng/packaging.targets b/eng/packaging.targets index c305c64dd94..7a29b7d9927 100644 --- a/eng/packaging.targets +++ b/eng/packaging.targets @@ -10,7 +10,7 @@ AddNETStandardCompatErrorFileForPackaging;IncludeAnalyzersInPackage;$(PackDependsOn) AddNETStandardCompatErrorFileForPackaging;IncludeAnalyzersInPackage;$(BeforePack) $(TargetsForTfmSpecificContentInPackage);AddRuntimeSpecificFilesToPackage;IncludePrivateProjectReferencesWithPackAttributeInPackage - false + false true $(MSBuildThisFileDirectory)useSharedDesignerContext.txt @@ -73,7 +73,6 @@ - @@ -96,19 +95,18 @@ - + + Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(TargetPlatformIdentifier)' != ''"> $(TargetDir)$(TargetName).pdb - <_packageTargetRuntime Condition="'$(TargetFrameworkIdentifier)' != '.NETFramework'">$(PackageTargetRuntime) - <_packageTargetRuntime Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">win + <_packageTargetRuntime>$(TargetPlatformIdentifier.ToLowerInvariant().Replace('windows', 'win')) + <_targetFrameworkWithoutSuffix>$(TargetFramework) + <_targetFrameworkWithoutSuffix Condition="$(TargetFramework.Contains('-'))">$(TargetFramework.SubString(0, $(TargetFramework.IndexOf('-')))) @@ -116,10 +114,10 @@ @(BuiltProjectOutputGroupOutput); @(DocumentationProjectOutputGroupOutput)" /> + PackagePath="runtimes/$(_packageTargetRuntime)/$(BuildOutputTargetFolder)/$(_targetFrameworkWithoutSuffix)" /> diff --git a/eng/slngen.nuget.config b/eng/slngen.nuget.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/eng/slngen.nuget.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/eng/targetframeworksuffix.props b/eng/targetframeworksuffix.props index ccbf1aa2883..f7074fe3e19 100644 --- a/eng/targetframeworksuffix.props +++ b/eng/targetframeworksuffix.props @@ -8,105 +8,91 @@ This is required for platforms not expected to have a version, and we currently omit the version for all platforms. --> 0.0 + $(TargetFramework.SubString($([MSBuild]::Add($(TargetFramework.IndexOf('-')), 1)))) - - $(TargetFrameworkSuffix) + 1.0 - $(TargetFrameworkSuffix),Version=$(TargetPlatformVersion) - + true - win - + true - unix - + true true - linux - + true true true - android - + true true - osx - + true true - maccatalyst - + true true - tvos - + true true - ios - + true true - freebsd - + true true - netbsd - + true true - illumos - + true true - solaris - + true - browser - + true diff --git a/eng/testing/tests.props b/eng/testing/tests.props index 3025ab62335..f23f4cc62e9 100644 --- a/eng/testing/tests.props +++ b/eng/testing/tests.props @@ -24,10 +24,9 @@ - $(NetCoreAppCurrent)-$(Configuration) - $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'AppleTestRunner', '$(MobileRunnersDirSuffix)')) - $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'AndroidTestRunner', '$(MobileRunnersDirSuffix)')) - $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'WasmTestRunner', '$(MobileRunnersDirSuffix)')) + $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'AppleTestRunner', '$(Configuration)', '$(NetCoreAppCurrent)')) + $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'AndroidTestRunner', '$(Configuration)', '$(NetCoreAppCurrent)')) + $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'WasmTestRunner', '$(Configuration)', '$(NetCoreAppCurrent)')) $(PackageRID) true diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props index a5cc7f68250..f11b5f173ed 100644 --- a/src/libraries/Directory.Build.props +++ b/src/libraries/Directory.Build.props @@ -78,11 +78,6 @@ false false - - false diff --git a/src/libraries/Microsoft.Extensions.Configuration.Xml/NuGet.config b/src/libraries/Microsoft.Extensions.Configuration.Xml/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/Microsoft.Extensions.Configuration.Xml/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Extensions.Configuration/NuGet.config b/src/libraries/Microsoft.Extensions.Configuration/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/Microsoft.Extensions.Configuration/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Extensions.Hosting.WindowsServices/NuGet.config b/src/libraries/Microsoft.Extensions.Hosting.WindowsServices/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/Microsoft.Extensions.Hosting.WindowsServices/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj b/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj index 1351a67f30f..54c6fd6a7c0 100644 --- a/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj +++ b/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj @@ -20,7 +20,7 @@ <_generateRuntimeGraphTargetFramework Condition="'$(MSBuildRuntimeType)' == 'core'">$(NetCoreAppToolCurrent) <_generateRuntimeGraphTargetFramework Condition="'$(MSBuildRuntimeType)' != 'core'">net472 - <_generateRuntimeGraphTask>$([MSBuild]::NormalizePath('$(BaseOutputPath)', '$(_generateRuntimeGraphTargetFramework)-$(Configuration)', '$(AssemblyName).dll')) + <_generateRuntimeGraphTask>$([MSBuild]::NormalizePath('$(BaseOutputPath)', $(Configuration), '$(_generateRuntimeGraphTargetFramework)', '$(AssemblyName).dll')) $(AdditionalRuntimeIdentifiers);$(OutputRID) diff --git a/src/libraries/Microsoft.VisualBasic.Core/NuGet.config b/src/libraries/Microsoft.VisualBasic.Core/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/Microsoft.VisualBasic.Core/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Win32.Registry.AccessControl/NuGet.config b/src/libraries/Microsoft.Win32.Registry.AccessControl/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/Microsoft.Win32.Registry.AccessControl/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Win32.Registry.AccessControl/src/Microsoft.Win32.Registry.AccessControl.csproj b/src/libraries/Microsoft.Win32.Registry.AccessControl/src/Microsoft.Win32.Registry.AccessControl.csproj index fd6384aebd9..506507556b4 100644 --- a/src/libraries/Microsoft.Win32.Registry.AccessControl/src/Microsoft.Win32.Registry.AccessControl.csproj +++ b/src/libraries/Microsoft.Win32.Registry.AccessControl/src/Microsoft.Win32.Registry.AccessControl.csproj @@ -9,7 +9,7 @@ Commonly Used Types: System.Security.AccessControl.RegistryAccessRule System.Security.AccessControl.RegistryAuditRule System.Security.AccessControl.RegistrySecurity - $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0-windows;netstandard2.0;$(NetFrameworkMinimum) + $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum) diff --git a/src/libraries/System.Configuration.ConfigurationManager/NuGet.config b/src/libraries/System.Configuration.ConfigurationManager/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Configuration.ConfigurationManager/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Data.Odbc/NuGet.config b/src/libraries/System.Data.Odbc/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Data.Odbc/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Data.OleDb/NuGet.config b/src/libraries/System.Data.OleDb/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Data.OleDb/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Data.OleDb/src/System.Data.OleDb.csproj b/src/libraries/System.Data.OleDb/src/System.Data.OleDb.csproj index 62b3ffd0128..7e3cf5c3a8f 100644 --- a/src/libraries/System.Data.OleDb/src/System.Data.OleDb.csproj +++ b/src/libraries/System.Data.OleDb/src/System.Data.OleDb.csproj @@ -1,7 +1,7 @@ true - $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0-windows;netstandard2.0;$(NetFrameworkMinimum) + $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum) true enable @@ -129,13 +129,10 @@ System.Data.OleDb.OleDbTransaction - + - - - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.DirectoryServices.AccountManagement/NuGet.config b/src/libraries/System.DirectoryServices.AccountManagement/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.DirectoryServices.AccountManagement/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem/NuGet.config b/src/libraries/System.IO.FileSystem/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.IO.FileSystem/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.IO.Pipes/NuGet.config b/src/libraries/System.IO.Pipes/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.IO.Pipes/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.IO.Ports/NuGet.config b/src/libraries/System.IO.Ports/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.IO.Ports/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.IO.Ports/src/System.IO.Ports.csproj b/src/libraries/System.IO.Ports/src/System.IO.Ports.csproj index d9b6355b234..efd034b6044 100644 --- a/src/libraries/System.IO.Ports/src/System.IO.Ports.csproj +++ b/src/libraries/System.IO.Ports/src/System.IO.Ports.csproj @@ -4,7 +4,7 @@ $(DefineConstants);SERIAL_PORTS true annotations - $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum)-Unix;$(NetCoreAppMinimum);netstandard2.0-windows;netstandard2.0-Unix;netstandard2.0;$(NetFrameworkMinimum) + $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum)-Unix;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum) true Provides classes for controlling serial ports. diff --git a/src/libraries/System.Net.Http.WinHttpHandler/NuGet.config b/src/libraries/System.Net.Http.WinHttpHandler/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Net.Http.WinHttpHandler/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Net.Http.WinHttpHandler/src/System.Net.Http.WinHttpHandler.csproj b/src/libraries/System.Net.Http.WinHttpHandler/src/System.Net.Http.WinHttpHandler.csproj index 3ff105557a8..bacef00d3e5 100644 --- a/src/libraries/System.Net.Http.WinHttpHandler/src/System.Net.Http.WinHttpHandler.csproj +++ b/src/libraries/System.Net.Http.WinHttpHandler/src/System.Net.Http.WinHttpHandler.csproj @@ -1,7 +1,7 @@ true - $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.1-windows;netstandard2.1;netstandard2.0-windows;netstandard2.0;$(NetFrameworkMinimum) + $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.1;netstandard2.0;$(NetFrameworkMinimum) true enable true diff --git a/src/libraries/System.Runtime.Caching/NuGet.config b/src/libraries/System.Runtime.Caching/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Runtime.Caching/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.Caching/src/System.Runtime.Caching.csproj b/src/libraries/System.Runtime.Caching/src/System.Runtime.Caching.csproj index 8742a91f18a..a567a23967c 100644 --- a/src/libraries/System.Runtime.Caching/src/System.Runtime.Caching.csproj +++ b/src/libraries/System.Runtime.Caching/src/System.Runtime.Caching.csproj @@ -1,7 +1,7 @@ true - $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0-windows;netstandard2.0 + $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0 true Annotations true diff --git a/src/libraries/System.Runtime.Serialization.Formatters/NuGet.config b/src/libraries/System.Runtime.Serialization.Formatters/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Runtime.Serialization.Formatters/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime/NuGet.config b/src/libraries/System.Runtime/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Runtime/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Security.Cryptography.Algorithms/NuGet.config b/src/libraries/System.Security.Cryptography.Algorithms/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Security.Cryptography.Algorithms/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Security.Cryptography.Pkcs/NuGet.config b/src/libraries/System.Security.Cryptography.Pkcs/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Security.Cryptography.Pkcs/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj b/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj index c0c2da22f98..4b46896972c 100644 --- a/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj +++ b/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj @@ -4,7 +4,7 @@ true $(NoWarn);CA5384 enable - $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.1-windows;netstandard2.1;netstandard2.0-windows;netstandard2.0;$(NetFrameworkMinimum) + $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.1;netstandard2.0;$(NetFrameworkMinimum) true Provides support for PKCS and CMS algorithms. diff --git a/src/libraries/System.Security.Cryptography.ProtectedData/NuGet.config b/src/libraries/System.Security.Cryptography.ProtectedData/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Security.Cryptography.ProtectedData/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Security.Cryptography.ProtectedData/src/System.Security.Cryptography.ProtectedData.csproj b/src/libraries/System.Security.Cryptography.ProtectedData/src/System.Security.Cryptography.ProtectedData.csproj index 2ed84aad3ce..7307e2d836b 100644 --- a/src/libraries/System.Security.Cryptography.ProtectedData/src/System.Security.Cryptography.ProtectedData.csproj +++ b/src/libraries/System.Security.Cryptography.ProtectedData/src/System.Security.Cryptography.ProtectedData.csproj @@ -1,7 +1,7 @@ true - $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0-windows;netstandard2.0;$(NetFrameworkMinimum) + $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum) enable true true diff --git a/src/libraries/System.Security.Cryptography.X509Certificates/NuGet.config b/src/libraries/System.Security.Cryptography.X509Certificates/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Security.Cryptography.X509Certificates/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Security.Cryptography.Xml/NuGet.config b/src/libraries/System.Security.Cryptography.Xml/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Security.Cryptography.Xml/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.ServiceProcess.ServiceController/NuGet.config b/src/libraries/System.ServiceProcess.ServiceController/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.ServiceProcess.ServiceController/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.ServiceProcess.ServiceController/src/System.ServiceProcess.ServiceController.csproj b/src/libraries/System.ServiceProcess.ServiceController/src/System.ServiceProcess.ServiceController.csproj index fac46aed04b..4ee87fe36d3 100644 --- a/src/libraries/System.ServiceProcess.ServiceController/src/System.ServiceProcess.ServiceController.csproj +++ b/src/libraries/System.ServiceProcess.ServiceController/src/System.ServiceProcess.ServiceController.csproj @@ -1,7 +1,7 @@ true - $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0-windows;netstandard2.0;$(NetFrameworkMinimum) + $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum) $(NoWarn);CA2249 enable true diff --git a/src/libraries/System.Text.Encoding.CodePages/NuGet.config b/src/libraries/System.Text.Encoding.CodePages/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Text.Encoding.CodePages/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Text.Encoding.CodePages/src/System.Text.Encoding.CodePages.csproj b/src/libraries/System.Text.Encoding.CodePages/src/System.Text.Encoding.CodePages.csproj index 061c30752e4..094f9c43ec7 100644 --- a/src/libraries/System.Text.Encoding.CodePages/src/System.Text.Encoding.CodePages.csproj +++ b/src/libraries/System.Text.Encoding.CodePages/src/System.Text.Encoding.CodePages.csproj @@ -2,7 +2,7 @@ true enable - $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0-windows;netstandard2.0;$(NetFrameworkMinimum) + $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum) true true true diff --git a/src/libraries/System.Threading.AccessControl/NuGet.config b/src/libraries/System.Threading.AccessControl/NuGet.config deleted file mode 100644 index a66b7f9b013..00000000000 --- a/src/libraries/System.Threading.AccessControl/NuGet.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Threading.AccessControl/src/System.Threading.AccessControl.csproj b/src/libraries/System.Threading.AccessControl/src/System.Threading.AccessControl.csproj index 577a87e8461..572fbfcb4e6 100644 --- a/src/libraries/System.Threading.AccessControl/src/System.Threading.AccessControl.csproj +++ b/src/libraries/System.Threading.AccessControl/src/System.Threading.AccessControl.csproj @@ -1,6 +1,6 @@ - $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0-windows;netstandard2.0;$(NetFrameworkMinimum) + $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum) true enable true diff --git a/src/libraries/slngen.proj b/src/libraries/slngen.proj index f6252926847..c5173034343 100644 --- a/src/libraries/slngen.proj +++ b/src/libraries/slngen.proj @@ -1,12 +1,10 @@ $(RepositoryEngineeringDir)slngen.template.proj - $(RepositoryEngineeringDir)slngen.nuget.config @@ -30,37 +28,6 @@ - - - - - - - $([System.IO.File]::ReadAllText('%(SolutionFile.Identity)')) - - true - - - - - - - - - - - - - @@ -68,27 +35,4 @@ NuGetConfigFilePath="%(RelativeDir)NuGet.config" /> - - - - - $([System.IO.File]::ReadAllText('%(SourceProject.Identity)')) - - $([System.Text.RegularExpressions.Regex]::Match($(ProjectFileContent), '<TargetFrameworks>(.+%3F)<\/TargetFrameworks>')) - $(ProjectFileTargetFrameworks.Replace('<TargetFrameworks>', '')) - $(ProjectFileTargetFrameworks.Replace('</TargetFrameworks>', '')) - - $([System.Text.RegularExpressions.Regex]::Replace('$(ProjectFileTargetFrameworks)', '(-[^;]+)', '')) - - $([System.Text.RegularExpressions.Regex]::IsMatch('$(ProjectFileTargetFrameworks);', '(netstandard.+|net4.+)(?=.*;\1;)')) - - - - - -