Skip to content

Commit

Permalink
Fix MSB3277 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyrest committed Aug 15, 2024
1 parent 42548fd commit 5ea6701
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net461;net48</TargetFrameworks>
<TargetFrameworks>net6.0;net8.0;net9.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net462;net481</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>10</LangVersion>
Expand All @@ -25,6 +25,7 @@

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.10.0" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down
5 changes: 2 additions & 3 deletions src/FastGenericNew.Benchmarks/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@

ManualConfig config = ManualConfig.Create(DefaultConfig.Instance);
config.AddJob(
Job.Default.WithRuntime(ClrRuntime.Net461),
Job.Default.WithRuntime(ClrRuntime.Net48),
Job.Default.WithRuntime(CoreRuntime.Core31),
Job.Default.WithRuntime(ClrRuntime.Net462),
Job.Default.WithRuntime(ClrRuntime.Net481),
Job.Default.WithRuntime(CoreRuntime.Core60),
Job.Default.WithRuntime(CoreRuntime.Core80),
Job.Default.WithRuntime(CoreRuntime.Core90)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<!-- Library Properties -->
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>preview</LangVersion>
<LangVersion>11.0</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsRoslynComponent>true</IsRoslynComponent>
Expand Down
1 change: 1 addition & 0 deletions src/FastGenericNew/FastGenericNew.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<CompilerGeneratedFilesOutputPath>_generated</CompilerGeneratedFilesOutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 5ea6701

Please sign in to comment.