diff --git a/Source/Picton.Messaging.IntegrationTests/Picton.Messaging.IntegrationTests.csproj b/Source/Picton.Messaging.IntegrationTests/Picton.Messaging.IntegrationTests.csproj index e26b001..4ec71a5 100644 --- a/Source/Picton.Messaging.IntegrationTests/Picton.Messaging.IntegrationTests.csproj +++ b/Source/Picton.Messaging.IntegrationTests/Picton.Messaging.IntegrationTests.csproj @@ -1,12 +1,16 @@ - + Exe - netcoreapp1.1 + netcoreapp2.0 Picton.Messaging.IntegrationTests Picton.Messaging.IntegrationTests + + latest + + diff --git a/Source/Picton.Messaging.UnitTests/Picton.Messaging.UnitTests.csproj b/Source/Picton.Messaging.UnitTests/Picton.Messaging.UnitTests.csproj index ab34c04..21d8717 100644 --- a/Source/Picton.Messaging.UnitTests/Picton.Messaging.UnitTests.csproj +++ b/Source/Picton.Messaging.UnitTests/Picton.Messaging.UnitTests.csproj @@ -1,13 +1,13 @@  - netcoreapp1.1 + net452;netcoreapp1.0;netcoreapp2.0 Picton.Messaging.UnitTests Picton.Messaging.UnitTests - + diff --git a/Source/Picton.Messaging/App_Packages/LibLog.4.2/LibLog.cs b/Source/Picton.Messaging/App_Packages/LibLog.4.2/LibLog.cs index dab3e68..9ae843d 100644 --- a/Source/Picton.Messaging/App_Packages/LibLog.4.2/LibLog.cs +++ b/Source/Picton.Messaging/App_Packages/LibLog.4.2/LibLog.cs @@ -1,9 +1,4 @@ -//------------------------------------------------------------------------------ -// -// This tag ensures the content of this file is not analyzed by StyleCop.Analyzers -// -//------------------------------------------------------------------------------ - +// //=============================================================================== // LibLog // @@ -504,6 +499,7 @@ interface ILogProvider /// /// A key. /// A value. + /// ??? /// A disposable that when disposed removes the map from the context. IDisposable OpenMappedContext(string key, object value, bool destructure = false); } @@ -669,6 +665,7 @@ static IDisposable OpenNestedContext(string message) /// /// A key. /// A value. + /// ??? /// An that closes context when disposed. [SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "SetCurrentLogProvider")] #if LIBLOG_PUBLIC @@ -785,7 +782,9 @@ internal class LoggerExecutionWrapper : ILog private readonly Func _getIsDisabled; internal const string FailedToGenerateLogMessage = "Failed to generate log message"; +#if !LIBLOG_PORTABLE Func _lastExtensionMethod; +#endif internal LoggerExecutionWrapper(Logger logger, Func getIsDisabled = null) { diff --git a/Source/Picton.Messaging/Picton.Messaging.csproj b/Source/Picton.Messaging/Picton.Messaging.csproj index cfae4f1..f37eea5 100644 --- a/Source/Picton.Messaging/Picton.Messaging.csproj +++ b/Source/Picton.Messaging/Picton.Messaging.csproj @@ -1,12 +1,10 @@  - net452;netstandard1.6 + net452;netstandard1.6;netstandard2.0 anycpu true Library - $(PackageTargetFallback);dnxcore50 - 1.6.1 $(SemVer) full @@ -28,7 +26,7 @@ - + @@ -41,14 +39,22 @@ - + + + + + $(DefineConstants);NETFULL;LIBLOG_PORTABLE - + $(DefineConstants);NETSTANDARD;LIBLOG_PORTABLE + + true + +