Skip to content

Commit

Permalink
Merge pull request #230 from WiseTechGlobal/net8
Browse files Browse the repository at this point in the history
Update remaining net6.0 references to net8.0.
  • Loading branch information
brian-reichle authored Nov 27, 2024
2 parents a8aacd0 + bd4fc9e commit 2b23b78
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ csharp_space_between_square_brackets = false
# https://github.com/dotnet/roslyn-analyzers/issues/5747
dotnet_diagnostic.CA1508.severity = none

# Argument exception throw helpers are not available in all supported target frameworks.
dotnet_diagnostic.CA1510.severity = none

# Duplicate of WTG3004 but also bugged in VS17.5.
# https://github.com/dotnet/roslyn-analyzers/issues/6500
dotnet_diagnostic.CA1825.severity = none
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
if: matrix.configuration == 'Debug' && matrix.os == 'windows-latest'
run: dotnet test src --no-build --framework net472

- name: Run Tests (net6.0)
- name: Run Tests (net8.0)
if: matrix.configuration == 'Debug'
run: dotnet test src --no-build --framework net6.0
run: dotnet test src --no-build --framework net8.0

nupkg:
name: Create NuGet Package
Expand Down
4 changes: 2 additions & 2 deletions WTG.Analyzers.TestFramework.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
<icon>images\icon.png</icon>
<dependencies>
<group targetFramework=".NETFramework4.6.2" />
<group targetFramework="net6.0" />
<group targetFramework="net8.0" />
</dependencies>
</metadata>

<files>
<!-- Binaries -->
<file src="bin\net462\WTG.Analyzers.TestFramework.dll" target="lib\net462" />
<file src="bin\net6.0\WTG.Analyzers.TestFramework.dll" target="lib\net6.0" />
<file src="bin\net8.0\WTG.Analyzers.TestFramework.dll" target="lib\net8.0" />

<!-- Other -->
<file src="LICENSE.md" target="" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyTitle>WTG Analyzers Test Framework</AssemblyTitle>
<TargetFrameworks>net462;net6.0</TargetFrameworks>
<TargetFrameworks>net462;net8.0</TargetFrameworks>
<OutputPath>..\..\bin</OutputPath>
<NuspecFile>..\..\WTG.Analyzers.TestFramework.nuspec</NuspecFile>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit 2b23b78

Please sign in to comment.