mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
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
This commit is contained in:
1 parent
81b6502efd
commit
503ae5145a
214 files changed
+1771
-2053
No files matched your search
@@ -2,9 +2,5 @@
|
||||
<Import Project="..\Directory.Build.props" />
|
||||
<PropertyGroup>
|
||||
<StrongNameKeyId>Microsoft</StrongNameKeyId>
|
||||
<PackageDescription>Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312.
|
||||
|
||||
Commonly Used Types:
|
||||
System.Text.CodePagesEncodingProvider</PackageDescription>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
-36
@@ -1,36 +0,0 @@
|
||||
<Project DefaultTargets="Build">
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ref\System.Text.Encoding.CodePages.csproj">
|
||||
<SupportedFramework>net461;netcoreapp2.0;$(AllXamarinFrameworks)</SupportedFramework>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\src\System.Text.Encoding.CodePages.csproj">
|
||||
<SupportedFramework>net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks)</SupportedFramework>
|
||||
</ProjectReference>
|
||||
<!-- Exclude TFMs that aren't supported by the package anymore from validation. -->
|
||||
<ExcludeHarvestedSupportedFramework Include="netcoreapp1.0;netcoreapp1.1;netcore50;uap10.0;net46" />
|
||||
<NETStandardCompatError Include="netcoreapp2.0" Supported="$(NetCoreAppMinimum)" />
|
||||
|
||||
<InboxOnTargetFramework Include="MonoAndroid10" />
|
||||
<InboxOnTargetFramework Include="MonoTouch10" />
|
||||
<InboxOnTargetFramework Include="xamarinios10" />
|
||||
<InboxOnTargetFramework Include="xamarinmac20" />
|
||||
<InboxOnTargetFramework Include="xamarintvos10" />
|
||||
<InboxOnTargetFramework Include="xamarinwatchos10" />
|
||||
|
||||
<!-- Since UAP and .NETCoreApp are package based we still want to enable
|
||||
OOBing libraries that happen to overlap with their framework package.
|
||||
This avoids us having to lock the API in our NuGet packages just
|
||||
to match what shipped inbox: since we can provide a new library
|
||||
we can update it to add API without raising the netstandard version. -->
|
||||
<ValidatePackageSuppression Include="TreatAsOutOfBox">
|
||||
<Value>.NETCoreApp;UAP</Value>
|
||||
</ValidatePackageSuppression>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<!-- Excluding the reference assets on the package so that RAR will see the run-time conflicts at build time in order to
|
||||
generate the right binding redirects when targeting Desktop. https://github.com/dotnet/runtime/issues/27470 -->
|
||||
<ExcludeReferenceAssets>true</ExcludeReferenceAssets>
|
||||
</PropertyGroup>
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
|
||||
</Project>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Suppression>
|
||||
<DiagnosticId>PKV006</DiagnosticId>
|
||||
<Target>.NETFramework,Version=v4.6</Target>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>PKV006</DiagnosticId>
|
||||
<Target>.NETStandard,Version=v1.3</Target>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>PKV007</DiagnosticId>
|
||||
<Target>.NETStandard,Version=v1.3-win</Target>
|
||||
</Suppression>
|
||||
</Suppressions>
|
||||
@@ -4,6 +4,12 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);netcoreapp3.1-windows;netcoreapp3.1;netstandard2.0-windows;netstandard2.0;net461-windows</TargetFrameworks>
|
||||
<IncludePlatformAttributes>true</IncludePlatformAttributes>
|
||||
<IsPackable>true</IsPackable>
|
||||
<AddXamarinPlaceholderFilesToPackage>true</AddXamarinPlaceholderFilesToPackage>
|
||||
<PackageDescription>Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312.
|
||||
|
||||
Commonly Used Types:
|
||||
System.Text.CodePagesEncodingProvider</PackageDescription>
|
||||
</PropertyGroup>
|
||||
<!-- Generator for code mapping table, target to invoke is GenerateEncodingSource -->
|
||||
<PropertyGroup>
|
||||
@@ -82,4 +88,7 @@
|
||||
<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))">
|
||||
<PackageReference Include="System.Memory" Version="$(SystemMemoryVersion)" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<NETStandardCompatError Include="netcoreapp2.0" Supported="$(NetCoreAppMinimum)" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in new issue
Block a user