Skip to content

Commit

Permalink
Reverted library to only target netstandard2.0 (#179)
Browse files Browse the repository at this point in the history
+semver: feature
  • Loading branch information
roryprimrose authored Aug 9, 2022
1 parent 4c4bbe4 commit d491e84
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ jobs:
with:
dotnet-version: '3.1.x' # SDK Version to use.

- name: Setup dotnet v5.0
uses: actions/[email protected]
with:
dotnet-version: '5.0.x' # SDK Version to use.

- name: Setup dotnet v6.0
uses: actions/[email protected]
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
<IsPackable>False</IsPackable>
<CodeAnalysisRuleSet>..\Solution Items\UnitTest.ruleset</CodeAnalysisRuleSet>
<LangVersion>latest</LangVersion>
Expand All @@ -14,13 +14,13 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ModelBuilder" Version="8.3.0" />
<PackageReference Include="NSubstitute" Version="4.3.0" />
<PackageReference Include="NSubstitute" Version="4.4.0" />
<PackageReference Include="FluentAssertions" Version="6.7.0" />
<PackageReference Include="coverlet.msbuild" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
Expand Down
2 changes: 1 addition & 1 deletion Divergic.Logging.Xunit/DefaultFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ private string MaskSensitiveValues(string value)
{
var sensitiveValue = _config.SensitiveValues[index];

value = value.Replace(sensitiveValue, mask, StringComparison.InvariantCultureIgnoreCase);
value = value.Replace(sensitiveValue, mask);
}

return value;
Expand Down
2 changes: 1 addition & 1 deletion Divergic.Logging.Xunit/Divergic.Logging.Xunit.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<CodeAnalysisRuleSet>..\Solution Items\Application.ruleset</CodeAnalysisRuleSet>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit d491e84

Please sign in to comment.