Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
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