mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
Removing Reference assets from packages which contain runtime-specific dependencies when targeting Desktop. (dotnet/corefx#33510)
* Removing Reference assets from packages which contain runtime-specific dependencies when targeting Desktop. (dotnet/corefx#33254) * Removing Reference assets from packages which contain runtime-specific dependencies when targeting Desktop. * Adding validation target to catch other instances of packages that need the property * Fixing target to check all exclude compiles. Undoing changes on two packages that are not required any more. * Update package index to contain the right versions * Fixing packaging build errors Commit migrated from https://github.com/dotnet/corefx/commit/6832425094123c858b9e5da02469c98ca8c200c4
This commit is contained in:
1 parent
094e8aa260
commit
def4a493e8
6 files changed
+44
-7
No files matched your search
+6
-1
@@ -7,7 +7,7 @@
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\src\System.Text.Encoding.CodePages.csproj" />
|
||||
<HarvestIncludePaths Include="lib/net46" />
|
||||
<HarvestIncludePaths Include="ref/netstandard1.3;runtimes/win/lib/netstandard1.3;lib/netstandard1.3" />
|
||||
<HarvestIncludePaths Include="runtimes/win/lib/netstandard1.3;lib/netstandard1.3" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<InboxOnTargetFramework Include="MonoAndroid10" />
|
||||
@@ -26,5 +26,10 @@
|
||||
<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/corefx/issues/32457 -->
|
||||
<ExcludeReferenceAssets>true</ExcludeReferenceAssets>
|
||||
</PropertyGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
|
||||
</Project>
|
||||
Reference in new issue
Block a user