From 76e6a20f99ed2b6b36180aac267ae355efe5f1c1 Mon Sep 17 00:00:00 2001 From: Tim Seaward Date: Wed, 20 Mar 2019 11:47:11 +0000 Subject: [PATCH] Fix duplicate event sources --- CondenserDotNet.sln | 1 + releasenotes/4.1.4.props | 7 +++++++ src/CondenserDotNet.Client/CondenserDotNet.Client.csproj | 3 --- .../CondenserDotNet.Configuration.csproj | 3 --- src/CondenserDotNet.Core/CondenserEventSource.cs | 4 ++-- version.props | 2 +- 6 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 releasenotes/4.1.4.props diff --git a/CondenserDotNet.sln b/CondenserDotNet.sln index bb1373d..d0e77f8 100644 --- a/CondenserDotNet.sln +++ b/CondenserDotNet.sln @@ -86,6 +86,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Release Notes", "Release No releasenotes\4.1.0.props = releasenotes\4.1.0.props releasenotes\4.1.1.props = releasenotes\4.1.1.props releasenotes\4.1.3.props = releasenotes\4.1.3.props + releasenotes\4.1.4.props = releasenotes\4.1.4.props EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CondenserDotNet.Middleware", "src\CondenserDotNet.Middleware\CondenserDotNet.Middleware.csproj", "{5DC8FA9E-4CB9-4F80-8AA9-7F4ABF8375B3}" diff --git a/releasenotes/4.1.4.props b/releasenotes/4.1.4.props new file mode 100644 index 0000000..b56213c --- /dev/null +++ b/releasenotes/4.1.4.props @@ -0,0 +1,7 @@ + + + +* Fix duplicate event sources + + + diff --git a/src/CondenserDotNet.Client/CondenserDotNet.Client.csproj b/src/CondenserDotNet.Client/CondenserDotNet.Client.csproj index 7ef5849..b7f38bb 100644 --- a/src/CondenserDotNet.Client/CondenserDotNet.Client.csproj +++ b/src/CondenserDotNet.Client/CondenserDotNet.Client.csproj @@ -8,9 +8,6 @@ latest - - - diff --git a/src/CondenserDotNet.Configuration/CondenserDotNet.Configuration.csproj b/src/CondenserDotNet.Configuration/CondenserDotNet.Configuration.csproj index f995dfc..bd8040e 100644 --- a/src/CondenserDotNet.Configuration/CondenserDotNet.Configuration.csproj +++ b/src/CondenserDotNet.Configuration/CondenserDotNet.Configuration.csproj @@ -6,9 +6,6 @@ latest - - - diff --git a/src/CondenserDotNet.Core/CondenserEventSource.cs b/src/CondenserDotNet.Core/CondenserEventSource.cs index 2abf11b..c0ff5e5 100644 --- a/src/CondenserDotNet.Core/CondenserEventSource.cs +++ b/src/CondenserDotNet.Core/CondenserEventSource.cs @@ -6,9 +6,9 @@ namespace CondenserDotNet.Core { [EventSource(Name = "Condenser-Event-Source")] - internal sealed class CondenserEventSource:EventSource + public sealed class CondenserEventSource:EventSource { - internal static readonly CondenserEventSource Log = new CondenserEventSource(); + public static readonly CondenserEventSource Log = new CondenserEventSource(); [Event(1, Message = "Service-Watcher-Created")] public void ServiceWatcherCreated(string serviceName) => Log.WriteEvent(1, serviceName); diff --git a/version.props b/version.props index b95d364..88ffc7f 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,6 @@ - 4.1.3 + 4.1.4 beta