Skip to content

Commit ed85957

Browse files
committed
Amend.
1 parent 366d5bb commit ed85957

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

IDisposableAnalyzers.NetCoreTests/IDisposableAnalyzers.NetCoreTests.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.0</TargetFramework>
5-
<IsPackable>false</IsPackable>
4+
<TargetFramework>netcoreapp3.1</TargetFramework>
65
<CodeAnalysisRuleSet>IDisposableAnalyzers.NetCoreTests.ruleset</CodeAnalysisRuleSet>
76
</PropertyGroup>
87

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[*.cs]
2+
dotnet_diagnostic.IDE1006.severity = none

IDisposableAnalyzers.Test/IDisposableAnalyzers.Test.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@
44
<TargetFramework>net48</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<CodeAnalysisRuleSet>IDisposableAnalyzers.Test.ruleset</CodeAnalysisRuleSet>
7-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
8-
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
9-
<NoWarn>$(NoWarn);IDE1006</NoWarn>
107
</PropertyGroup>
118

129
<PropertyGroup>
1310
<SignAssembly>true</SignAssembly>
1411
<AssemblyOriginatorKeyFile>..\IDisposableAnalyzers.snk</AssemblyOriginatorKeyFile>
1512
</PropertyGroup>
16-
13+
1714
<ItemGroup>
1815
<ProjectReference Include="..\IDisposableAnalyzers\IDisposableAnalyzers.csproj" />
1916
</ItemGroup>

ValidCode/ValidCode.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net48</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<CodeAnalysisRuleSet>ValidCode.ruleset</CodeAnalysisRuleSet>
77
<Description>A project only used by the HappyPathTests. It contains all kinds of weird variations that is still valid code. We use it to test all analyzers. If a bug is found we extract it to a minimal repro and use it in a test for the analyzer but we leave this project as is.</Description>

0 commit comments

Comments
 (0)