Skip to content

Commit

Permalink
Don't include the assembly qualified name, this makes recieving messa…
Browse files Browse the repository at this point in the history
…ge bus messages from different app versions easier.
  • Loading branch information
niemyjski committed Jan 10, 2018
1 parent d2dabb5 commit 9610192
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/sourcelink.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SourceLink.Embed.AllSourceFiles" Version="2.7.3" PrivateAssets="all" />
<PackageReference Include="SourceLink.Embed.AllSourceFiles" Version="2.7.4" PrivateAssets="all" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Foundatio.Redis/Foundatio.Redis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AssemblyOriginatorKeyFile>..\Exceptionless.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Foundatio" Version="7.0.1634-pre" />
<PackageReference Include="Foundatio" Version="7.0.1638-pre" />
<PackageReference Include="StackExchange.Redis.StrongName" Version="1.2.6" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Foundatio.Redis/Messaging/RedisMessageBus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected override async Task PublishImplAsync(Type messageType, object message,

if (_logger.IsEnabled(LogLevel.Trace)) _logger.LogTrace("Message Publish: {MessageType}", messageType.FullName);
var data = _serializer.SerializeToBytes(new MessageBusData {
Type = messageType.AssemblyQualifiedName,
Type = String.Concat(messageType.FullName, ", ", messageType.Assembly.GetName().Name),
Data = _serializer.SerializeToBytes(message)
});

Expand Down
2 changes: 1 addition & 1 deletion test/Foundatio.Redis.Tests/Foundatio.Redis.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ProjectReference Include="..\..\src\Foundatio.Redis\Foundatio.Redis.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Foundatio.TestHarness" Version="7.0.1634-pre" />
<PackageReference Include="Foundatio.TestHarness" Version="7.0.1638-pre" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="xunit" Version="2.3.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
Expand Down

0 comments on commit 9610192

Please sign in to comment.