Discussed in #120
Originally posted by quasarea June 29, 2021
Hi,
I have library that depends on Grpc.Core package. This package has a targets file that adds assemblies to output
...
<ItemGroup Condition="'$(Grpc_SkipNativeLibsCopy)' != 'true'">
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\grpc_csharp_ext.x86.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>grpc_csharp_ext.x86.dll</Link>
<Visible>false</Visible>
</Content>
...
How can I exclude grpc_csharp_ext.x86.dll from being packaged? I have tried several combinations of
<PackInference Update="Content" PackExclude="**/grpc_csharp_ext.x86.dll;**/grpc_csharp_ext.x64.dll" />
<PackInference Update="Content" PackExclude="$(OutputPath)/**/grpc_csharp_ext.x64.dll" />
<PackInference Update="Content" PackExclude="$(OutputPath)/grpc_csharp_ext.x64.dll" />
<PackInference Update="Content" PackExclude="**/grpc_csharp_ext.x64.dll" />
But nothing worked :(
Discussed in #120
Originally posted by quasarea June 29, 2021
Hi,
I have library that depends on Grpc.Core package. This package has a targets file that adds assemblies to output
How can I exclude grpc_csharp_ext.x86.dll from being packaged? I have tried several combinations of
But nothing worked :(