Skip to content

Commit 1b9b9ca

Browse files
committed
[nuget] Include Mono.Unix build assets
This is to make projects which reference only LibZipSharp work with the new Mono.Unix package. By default, the nuget generated for LibZipSharp will not include Mono.Unix's `build` components which will break said projects. Transitive build assets must be included so that the Mono.Unix configuration and runtime files are copied to the project directory.
1 parent ca04fce commit 1b9b9ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibZipSharp/libZipSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<None Include="$(_ExternalDir)\zlib-ng\LICENSE.md" PackagePath="Licences\zlib-ng" Pack="true" />
5858
</ItemGroup>
5959
<ItemGroup>
60-
<PackageReference Include="Mono.Unix" Version="$(_MonoPosixNugetVersion)" />
60+
<PackageReference Include="Mono.Unix" Version="$(_MonoPosixNugetVersion)" ExcludeAssets="analyzers" />
6161
<PackageReference Include="System.Buffers" Version="4.5.0" />
6262
<PackageReference Include="XliffTasks" Version="1.0.0-beta.20206.1" PrivateAssets="all" />
6363
</ItemGroup>

0 commit comments

Comments
 (0)