Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jan 22, 2024
1 parent fb1d586 commit 6316136
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ApprovalTests.Tests/Email/EmailTest.cs
Expand Up @@ -23,7 +23,7 @@ public void Testname()
}
}

#if(NET48)
#if NET48
[Test]
public void TestAttachment()
{
Expand Down
2 changes: 1 addition & 1 deletion src/ApprovalTests/Namers/ApprovalResults.cs
Expand Up @@ -9,7 +9,7 @@ public static class ApprovalResults

public static string GetDotNetVersion() => "Net_v" + Environment.Version;

#if (!NET462)
#if !NETFRAMEWORK
public static IDisposable UniqueForRuntime(bool throwOnError = true) =>
NamerFactory.AsEnvironmentSpecificTest(GetDotNetRuntime(throwOnError));

Expand Down
3 changes: 2 additions & 1 deletion src/ApprovalUtilities/ApprovalUtilities.csproj
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT'">net472;net48</TargetFrameworks>
<TargetFrameworks>$(TargetFrameworks);net6.0;net7.0;net8.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand Down

0 comments on commit 6316136

Please sign in to comment.