Skip to content

Commit

Permalink
.net6,.net7,.net8
Browse files Browse the repository at this point in the history
  • Loading branch information
KSemenenko committed Jun 12, 2024
1 parent f7fc62f commit 16c2a29
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 21 deletions.
13 changes: 11 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<Project>

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>12</LangVersion>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<DebugType>embedded</DebugType>
<Nullable>enable</Nullable>
</PropertyGroup>

<!--NuGet-->
<PropertyGroup>
<Authors>ManagedCode</Authors>
Expand All @@ -17,8 +26,8 @@
<RepositoryUrl>https://github.com/managedcode/Communication</RepositoryUrl>
<PackageProjectUrl>https://github.com/managedcode/Communication</PackageProjectUrl>
<Product>Managed Code - Communication</Product>
<Version>8.0.1</Version>
<PackageVersion>8.0.1</PackageVersion>
<Version>8.0.2</Version>
<PackageVersion>8.0.2</PackageVersion>

</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<RootNamespace>ManagedCode.Communication.Extensions</RootNamespace>
<OutputType>Library</OutputType>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<!--NuGet-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<RootNamespace>ManagedCode.Communication</RootNamespace>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<!--NuGet-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<IsPackable>false</IsPackable>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<OutputType>Library</OutputType>
<GenerateProgramFile>false</GenerateProgramFile>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<VSTestLogger>trx%3bLogFileName=$(MSBuildProjectName).trx</VSTestLogger>
Expand All @@ -29,14 +25,14 @@
<PackageReference Include="Microsoft.Orleans.TestingHost" Version="8.1.0" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Text.Json" Version="8.0.3" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.4" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.4" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.4" />
<PackageReference Include="xunit" Version="2.8.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.6" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.6" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.6" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
4 changes: 1 addition & 3 deletions ManagedCode.Communication/ManagedCode.Communication.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;net6.0;net7.0</TargetFrameworks>
</PropertyGroup>

<!--NuGet-->
Expand Down

0 comments on commit 16c2a29

Please sign in to comment.