Skip to content

Commit

Permalink
Disable packing on Akka.Analyzers (#76)
Browse files Browse the repository at this point in the history
* Disable packing on Akka.Analyzers

* fixed Roslyn
  • Loading branch information
Aaronontheweb authored Feb 29, 2024
1 parent a9aa030 commit 1cdc311
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
15 changes: 5 additions & 10 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@
<PropertyGroup>
<Copyright>Copyright © 2013-2024 Akka.NET Project</Copyright>
<NoWarn>$(NoWarn);CS1591;NU1701;CA1707;</NoWarn>
<VersionPrefix>0.2.2</VersionPrefix>
<VersionPrefix>0.2.3</VersionPrefix>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Authors>Akka.NET Team</Authors>
<PackageProjectUrl>https://github.com/akkadotnet/akka.analyzers</PackageProjectUrl>
<PackageReleaseNotes>* [AK2001: Harden rule, only run on Akka.NET v1.5.15 and later](https://github.com/akkadotnet/akka.analyzers/pull/51)
* [AK1001: Make sure that analyzer also considers `Context.Sender`](https://github.com/akkadotnet/akka.analyzers/pull/54)
* [AK1001: Make sure that analyzer also consider lambda expressions with no code blocks](https://github.com/akkadotnet/akka.analyzers/pull/56)
* [AK1002: Add new rule to prevent `GracefulStop()` from being called in `ReceiveAsync()` and `ReceiveAnyAsync()`](https://github.com/akkadotnet/akka.analyzers/pull/58)
* [AK1002: Improve rule to ignore user code with the same name](https://github.com/akkadotnet/akka.analyzers/pull/60)
* [AK1003: Add rule to flag non-performant `ReceiveAsync()` and `ReceiveAnyAsync()` invocation](https://github.com/akkadotnet/akka.analyzers/pull/61)</PackageReleaseNotes>
<PackageReleaseNotes>* [AK1002: Fix false positive detection](https://github.com/akkadotnet/akka.analyzers/pull/72)
* [Add multi target support for Roslyn 3.11, 4.4, 4.6, and 4.8](https://github.com/akkadotnet/akka.analyzers/pull/73)
* [AK1001: Rule removed due to #65](https://github.com/akkadotnet/akka.analyzers/pull/74)</PackageReleaseNotes>
<PackageTags>akka.net, akka.analyzers, akakdotnet, roslyn, analyzers</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
Expand Down Expand Up @@ -44,16 +41,14 @@
</PropertyGroup>
</When>
</Choose>

<Choose>
<When Condition="$(MSBuildProjectName.Contains('.Tests'))">
<ItemGroup>
<!-- Download packages referenced by ReferenceAssembliesHelper -->
<PackageDownload Include="Akka.Cluster.Sharding" Version="[1.5.15]"/>
<PackageDownload Include="Akka.Cluster.Sharding" Version="[1.5.15]" />
</ItemGroup>
</When>
</Choose>

<PropertyGroup Condition="$(MSBuildProjectName.StartsWith('Akka.Analyzers.Roslyn'))">
<AssemblyName>Akka.Analyzers</AssemblyName>
</PropertyGroup>
Expand Down
6 changes: 6 additions & 0 deletions src/Akka.Analyzers.NuGet/Akka.Analyzers.NuGet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Akka.Analyzers.Fixes.Roslyn311\Akka.Analyzers.Fixes.Roslyn311.csproj" />
<ProjectReference Include="..\Akka.Analyzers.Fixes.Roslyn44\Akka.Analyzers.Fixes.Roslyn44.csproj" />
<ProjectReference Include="..\Akka.Analyzers.Fixes.Roslyn46\Akka.Analyzers.Fixes.Roslyn46.csproj" />
<ProjectReference Include="..\Akka.Analyzers.Fixes\Akka.Analyzers.Fixes.csproj"/>
<ProjectReference Include="..\Akka.Analyzers.Roslyn311\Akka.Analyzers.Roslyn311.csproj" />
<ProjectReference Include="..\Akka.Analyzers.Roslyn44\Akka.Analyzers.Roslyn44.csproj" />
<ProjectReference Include="..\Akka.Analyzers.Roslyn46\Akka.Analyzers.Roslyn46.csproj" />
<ProjectReference Include="..\Akka.Analyzers\Akka.Analyzers.csproj"/>
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions src/Akka.Analyzers/Akka.Analyzers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 1cdc311

Please sign in to comment.