Skip to content

Commit 7a61bb9

Browse files
committed
Remove unneeded DESKTOP compilation symbol
1 parent 2ccceca commit 7a61bb9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net46;netcoreapp2.0</TargetFrameworks>
5-
<DefineConstants Condition=" '$(TargetFramework)' == 'net46' ">$(DefineConstants);DESKTOP</DefineConstants>
65
</PropertyGroup>
76

87
<ItemGroup>

LibGit2Sharp.Tests/SetErrorFixture.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void FormatAggregateException()
4949
Exception exceptionToThrow = new AggregateException(aggregateExceptionMessage, new Exception(innerExceptionMessage), new Exception(innerExceptionMessage2));
5050

5151
StringBuilder sb = new StringBuilder();
52-
#if DESKTOP
52+
#if NETFRAMEWORK
5353
sb.AppendLine(aggregateExceptionMessage);
5454
#else
5555
sb.AppendLine($"{aggregateExceptionMessage} ({innerExceptionMessage}) ({innerExceptionMessage2})");

0 commit comments

Comments
 (0)