FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Activate analyzers and source generator by default by AArnott · Pull Request #1822 · MessagePack-CSharp/MessagePack-CSharp · GitHub

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

Filter by extension

Filter by extension .csproj  (2) All 1 file type selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
11 changes: 5 additions & 6 deletions src/MessagePack.Analyzers/MessagePack.Analyzers.csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL