Skip to content

Commit

Permalink
Exclude .pdb files from runtime packs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpeppers committed May 3, 2022
1 parent fa0d85a commit b870ba2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build-tools/create-packs/Microsoft.Android.Runtime.proj
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ projects that use the Microsoft.Android framework in .NET 5.

<ItemGroup>
<_PackageFiles Include="@(_AndroidRuntimePackAssemblies)" PackagePath="$(_AndroidRuntimePackAssemblyPath)" TargetPath="$(_AndroidRuntimePackAssemblyPath)" />
<_PackageFiles Include="@(_AndroidRuntimePackAssemblies->'%(RelativeDir)%(Filename).pdb')" PackagePath="$(_AndroidRuntimePackAssemblyPath)" />
<!-- TODO: workaround for
https://github.com/dotnet/runtime/issues/67660
https://github.com/dotnet/linker/issues/2203
-->
<!-- <_PackageFiles Include="@(_AndroidRuntimePackAssemblies->'%(RelativeDir)%(Filename).pdb')" PackagePath="$(_AndroidRuntimePackAssemblyPath)" /> -->
<_PackageFiles Include="@(_AndroidRuntimePackAssets)" PackagePath="$(_AndroidRuntimePackNativePath)" TargetPath="$(_AndroidRuntimePackNativePath)" IsNative="true" />
</ItemGroup>
</Target>
Expand Down

0 comments on commit b870ba2

Please sign in to comment.