Skip to content

Commit

Permalink
Fix duplicate event sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Drawaes committed Mar 20, 2019
1 parent 58ab057 commit 76e6a20
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions CondenserDotNet.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
7 changes: 7 additions & 0 deletions releasenotes/4.1.4.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<PackageReleaseNotes>
* Fix duplicate event sources
</PackageReleaseNotes>
</PropertyGroup>
</Project>
3 changes: 0 additions & 3 deletions src/CondenserDotNet.Client/CondenserDotNet.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
<PropertyGroup>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\CondenserDotNet.Core\CondenserEventSource.cs" Link="CondenserEventSource.cs" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\CondenserDotNet.Core\CondenserDotNet.Core.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
<PropertyGroup>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\CondenserDotNet.Core\CondenserEventSource.cs" Link="CondenserEventSource.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="2.0.0" />
Expand Down
4 changes: 2 additions & 2 deletions src/CondenserDotNet.Core/CondenserEventSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion version.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<VersionPrefix>4.1.3</VersionPrefix>
<VersionPrefix>4.1.4</VersionPrefix>
<VersionSuffix>beta</VersionSuffix>
</PropertyGroup>
</Project>

0 comments on commit 76e6a20

Please sign in to comment.