Skip to content

Commit

Permalink
Merge pull request #86 from ARKlab/bugfix/remove_analyzer_from_deps
Browse files Browse the repository at this point in the history
fix(deps): remove NetAnalyzer as dep and remove net6.0
  • Loading branch information
AndreaCuneo authored Nov 19, 2024
2 parents 5b51526 + 51ba0d8 commit 6e57f75
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
20 changes: 16 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>

<PropertyGroup>
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
<LangVersion>10.0</LangVersion>
<TargetFrameworks>net8.0;netstandard2.0;netstandard2.1;</TargetFrameworks>
<LangVersion>12</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>1591</NoWarn>
<Nullable>enable</Nullable>
Expand Down Expand Up @@ -45,10 +45,22 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0" >
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>

<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>

<None Include="..\ark-dark.png" Pack="true" PackagePath="\"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>


</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1' Or '$(TargetFramework)' == 'netstandard2.0'">

<PackageReference Include="Nullable" Version="1.3.1">
<PrivateAssets>all</PrivateAssets>
Expand Down
10 changes: 6 additions & 4 deletions MessagePack.NodaTime.Tests/MessagePack.NodaTime.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Properties\**" />
<EmbeddedResource Remove="Properties\**" />
<None Remove="Properties\**" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MessagePack.NodaTime\MessagePack.NodaTime.csproj">
</ProjectReference>
Expand All @@ -23,7 +28,4 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>

0 comments on commit 6e57f75

Please sign in to comment.