Skip to content

Commit

Permalink
enable TreatWarningsAsErrors (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb authored Dec 24, 2024
1 parent 13066c4 commit 0dbdcd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 3 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
<PackageReleaseNotes>* [Fix ActorRegistry.GetAsync() returning Nobody](https://github.com/akkadotnet/Akka.Hosting/pull/501)</PackageReleaseNotes>
<PackageIcon>akkalogo.png</PackageIcon>
<PackageProjectUrl>
https://github.com/akkadotnet/Akka.Hosting
</PackageProjectUrl>
https://github.com/akkadotnet/Akka.Hosting
</PackageProjectUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
6 changes: 1 addition & 5 deletions src/Akka.Hosting/Akka.Hosting.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>Akka.NET Microsoft.Extensions.Hosting support.</Description>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>


<ItemGroup>
<PackageReference Include="Akka.DependencyInjection" Version="$(AkkaVersion)" />
<PackageReference Include="Akka.Streams" Version="$(AkkaVersion)" />
Expand Down

0 comments on commit 0dbdcd1

Please sign in to comment.