-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set targets and versions to Net Core 3.1, Net 5 and Net 6
Application version 3.2.0 (#54) Set targets and versions to Net Core 3.1, Net 5 and Net 6 Add Directory.Build.targets with version of nugets Modify workflows to support Net 5 and Net 6 Clean ".csproj"s
- Loading branch information
1 parent
c2c6544
commit ac68313
Showing
12 changed files
with
87 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<Project> | ||
<ItemGroup Label="General Dependencies"> | ||
<PackageReference Update="Newtonsoft.Json" Version="13.0.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' "> | ||
<PackageReference Update="Microsoft.AspNetCore.TestHost" Version="$(NetCoreVersion3)" /> | ||
<PackageReference Update="Microsoft.AspNetCore.Authentication.JwtBearer" Version="$(NetCoreVersion3)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'net5.0' "> | ||
<PackageReference Update="Microsoft.AspNetCore.TestHost" Version="$(NetCoreVersion5)" /> | ||
<PackageReference Update="Microsoft.AspNetCore.Authentication.JwtBearer" Version="$(NetCoreVersion5)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' "> | ||
<PackageReference Update="Microsoft.AspNetCore.TestHost" Version="$(NetCoreVersion6)" /> | ||
<PackageReference Update="Microsoft.AspNetCore.Authentication.JwtBearer" Version="$(NetCoreVersion6)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Label="Testing Dependencies"> | ||
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.1.0" /> | ||
<PackageReference Update="FluentAssertions" Version="6.5.1" /> | ||
<PackageReference Update="xunit" Version="2.4.1" /> | ||
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.3"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Update="coverlet.collector" Version="3.0.0"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
<Project> | ||
<PropertyGroup Label="SDK Versions"> | ||
<NetCoreTargetVersion>netcoreapp3.1</NetCoreTargetVersion> | ||
<MicrosoftNETTestSdkPackageVersion>17.1.0</MicrosoftNETTestSdkPackageVersion> | ||
<NetCoreTargetVersion>netcoreapp3.1;net5.0;net6.0</NetCoreTargetVersion> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Label="Package Versions"> | ||
<MicrosoftAspNetCoreTestHostVersion>3.1.23</MicrosoftAspNetCoreTestHostVersion> | ||
<JwtBearerVersion>3.1.23</JwtBearerVersion> | ||
<FluentAssertionsVersion>6.5.1</FluentAssertionsVersion> | ||
<NewtonsoftJson>13.0.1</NewtonsoftJson> | ||
<MicrosoftSourceLinkGithub>1.1.1</MicrosoftSourceLinkGithub> | ||
</PropertyGroup> | ||
<NetCoreVersion3>3.1.23</NetCoreVersion3> | ||
<NetCoreVersion5>5.0.15</NetCoreVersion5> | ||
<NetCoreVersion6>6.0.3</NetCoreVersion6> | ||
|
||
<PropertyGroup Label="Testing Dependencies"> | ||
<DotnetXUnitPackageVersion>2.4.1</DotnetXUnitPackageVersion> | ||
<DotnetXUnitRunnerPackageVersion>2.4.3</DotnetXUnitRunnerPackageVersion> | ||
<MicrosoftSourceLinkGithub>1.1.1</MicrosoftSourceLinkGithub> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"projects": [ "src", "test", "samples" ], | ||
"sdk": { | ||
"version": "3.1.300", | ||
"version": "6.0.100", | ||
"rollForward": "latestMajor" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
samples/Sample.IntegrationTests/Sample.IntegrationTests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>$(NetCoreTargetVersion)</TargetFramework> | ||
<TargetFrameworks>$(NetCoreTargetVersion)</TargetFrameworks> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\src\Acheve.TestHost\Acheve.TestHost.csproj" /> | ||
<ProjectReference Include="..\Sample.Api\Sample.Api.csproj" /> | ||
<PackageReference Include="FluentAssertions" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" /> | ||
<PackageReference Include="xunit" /> | ||
<PackageReference Include="xunit.runner.visualstudio" /> | ||
<PackageReference Include="coverlet.collector" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNETTestSdkPackageVersion)" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="$(DotnetXUnitRunnerPackageVersion)" /> | ||
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" /> | ||
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="$(MicrosoftAspNetCoreTestHostVersion)" /> | ||
<PackageReference Include="xunit" Version="$(DotnetXUnitPackageVersion)" /> | ||
<ProjectReference Include="..\..\src\Acheve.TestHost\Acheve.TestHost.csproj" /> | ||
<ProjectReference Include="..\Sample.Api\Sample.Api.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters