-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add .NET Standard 2.0 build #14
Changes from all commits
62a10f7
4dadc4e
f8d560e
1dedf87
3b90468
883fa67
b17cdf0
0fcbc26
4f8ce10
b30a709
878aa0d
3fa4763
20cb82c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -321,7 +321,7 @@ public void DoAppend(LoggingEvent loggingEvent) | |
{ | ||
ErrorHandler.Error("Failed in DoAppend", ex); | ||
} | ||
#if !MONO && !NET_2_0 && !NETSTANDARD1_3 | ||
#if !(MONO || NET_2_0 || NETSTANDARD1_3 || NETSTANDARD2_0) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see a naming scheme difference here. According to the conventions so far, a underscore has been there before the version of a target. Thus There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I used the FrameworkMajor_Minor convention because it's used by the build system, e.g. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then this is fine by me. |
||
// on .NET 2.0 (and higher) and Mono (all profiles), | ||
// exceptions that do not derive from System.Exception will be | ||
// wrapped in a RuntimeWrappedException by the runtime, and as | ||
|
@@ -428,7 +428,7 @@ public void DoAppend(LoggingEvent[] loggingEvents) | |
{ | ||
ErrorHandler.Error("Failed in Bulk DoAppend", ex); | ||
} | ||
#if !MONO && !NET_2_0 && !NETSTANDARD1_3 | ||
#if !(MONO || NET_2_0 || NETSTANDARD1_3 || NETSTANDARD2_0) | ||
// on .NET 2.0 (and higher) and Mono (all profiles), | ||
// exceptions that do not derive from System.Exception will be | ||
// wrapped in a RuntimeWrappedException by the runtime, and as | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer this to be a separate stage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just now realized why you had to change this. The docker microsoft/dotnet is now on debian stretch which does no longer include nant (https://packages.debian.org/search?suite=all§ion=all&arch=any&searchon=names&keywords=nant). We probably should move away from nant entirely.