Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to dotnet 8.0.302 #119

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make sure that netstandard2.0 version is unit tested.
driekus77 committed Jul 7, 2024
commit 0a2e2d50e5d9bfde24b0aed228e6baa982ed7f97
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
language: csharp
mono: none
sudo: false
dotnet: 8.0.6
dotnet: 8.0.302
dist: bionic

before_install:
# explicitly install other targeted SDKs side by side
- sudo apt-get install dotnet-sdk-3.1

script:
- dotnet build -c Release
- dotnet test -c Release --no-build
- dotnet test -c Release --no-build -f netcoreapp3.1
- dotnet test -c Release --no-build -f net8.0
- dotnet pack -c Release --no-build -p:NoWarn=NU5105


9 changes: 7 additions & 2 deletions test/ProjNet.Tests/ProjNET.Tests.csproj
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
<SignAssembly>true</SignAssembly>
<NoWarn>1701;1702;1591</NoWarn>
<OutputType>Library</OutputType>
<TargetFrameworks>net6;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
@@ -16,7 +16,12 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(SolutionDir)src\ProjNet\ProjNET.csproj" />
<ProjectReference Condition="'$(TargetFramework)' == 'net6.0'" Include="$(SolutionDir)src\ProjNet\ProjNET.csproj">
<SetTargetFramework>TargetFramework=netstandard2.0</SetTargetFramework>
</ProjectReference>
<ProjectReference Condition="'$(TargetFramework)' != 'net6.0'" Include="$(SolutionDir)src\ProjNet\ProjNET.csproj">
<SetTargetFramework>TargetFramework=net8.0</SetTargetFramework>
</ProjectReference>
</ItemGroup>

<ItemGroup>