Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions src/MessagePack.Analyzers/MessagePack.Analyzers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
</ItemGroup>

<ItemDefinitionGroup>
<PackageReference>
<!-- We need this, even with SuppressDependenciesWhenPacking=true because the
dependencies will otherwise show up as dependencies in packages built by projects
that reference this one. Probably due to transitive pinning. -->
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<!-- We need this, even with SuppressDependenciesWhenPacking=true because the
dependencies will otherwise show up as dependencies in packages built by projects
that reference this one. Probably due to transitive pinning. -->
<PackageReference PrivateAssets="all" />
<ProjectReference PrivateAssets="all" />
</ItemDefinitionGroup>

<ItemGroup>
Expand Down
5 changes: 5 additions & 0 deletions src/MessagePack/MessagePack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@

<ItemGroup>
<ProjectReference Include="..\MessagePack.Annotations\MessagePack.Annotations.csproj" />
<!-- We don't consume the analyzers in this library itself,
but we reference the project to add a package dependency so users of this library will automatically get the analyzers. -->
<ProjectReference Include="..\MessagePack.Analyzers\MessagePack.Analyzers.csproj"
PrivateAssets="none"
Condition="'$(ExcludeRestorePackageImports)' != ''" />
</ItemGroup>

<ItemGroup>
Expand Down