File tree Expand file tree Collapse file tree 6 files changed +14
-30
lines changed
Expand file tree Collapse file tree 6 files changed +14
-30
lines changed Original file line number Diff line number Diff line change 1414
1515 <ItemGroup >
1616 <PackageReference Include =" NServiceBus" Version =" 9.*" />
17- <PackageReference Include =" NServiceBus.Persistence.NonDurable" Version =" 2.*" />
1817 <PackageReference Include =" NServiceBus.Heartbeat" Version =" 5.*" />
1918 <PackageReference Include =" NServiceBus.Metrics.ServiceControl" Version =" 5.*" />
19+ <PackageReference Include =" NServiceBus.Persistence.NonDurable" Version =" 2.*" />
2020 </ItemGroup >
2121
2222 <ItemGroup >
23- <Compile Include =" ..\MonitoringDemo\UserInterface.cs" >
24- <Link >UserInterface.cs</Link >
25- </Compile >
26- <Compile Include =" ..\MonitoringDemo\DeterministicGuid.cs" >
27- <Link >DeterministicGuid.cs</Link >
28- </Compile >
23+ <Compile Include =" ..\MonitoringDemo\DeterministicGuid.cs" />
24+ <Compile Include =" ..\MonitoringDemo\UserInterface.cs" />
2925 </ItemGroup >
3026
3127</Project >
Original file line number Diff line number Diff line change 1919 </ItemGroup >
2020
2121 <ItemGroup >
22- <Compile Include =" ..\MonitoringDemo\UserInterface.cs" >
23- <Link >UserInterface.cs</Link >
24- </Compile >
22+ <Compile Include =" ..\MonitoringDemo\UserInterface.cs" />
2523 </ItemGroup >
2624
2725</Project >
Original file line number Diff line number Diff line change @@ -5,11 +5,9 @@ static class DeterministicGuid
55{
66 public static Guid Create ( params object [ ] data )
77 {
8- // use MD5 hash to get a 16-byte hash of the string
9- using var provider = MD5 . Create ( ) ;
108 var inputBytes = Encoding . Default . GetBytes ( string . Concat ( data ) ) ;
11- var hashBytes = provider . ComputeHash ( inputBytes ) ;
12- // generate a guid from the hash:
9+ var hashBytes = MD5 . HashData ( inputBytes ) ;
10+
1311 return new Guid ( hashBytes ) ;
1412 }
1513}
Original file line number Diff line number Diff line change 1010 </PropertyGroup >
1111
1212 <ItemGroup >
13- <None Update =" launch.sh" CopyToOutputDirectory =" PreserveNewest" />
14- <None Update =" launch.ps1" CopyToOutputDirectory =" PreserveNewest" />
13+ <PackageReference Include =" Terminal.Gui" Version =" 2.0.0-prealpha.1895" />
1514 </ItemGroup >
1615
1716 <ItemGroup >
18- <PackageReference Include =" Terminal.Gui" Version =" 2.0.0-prealpha.1895" />
17+ <None Update =" launch.sh" CopyToOutputDirectory =" PreserveNewest" />
18+ <None Update =" launch.ps1" CopyToOutputDirectory =" PreserveNewest" />
1919 </ItemGroup >
2020
2121</Project >
Original file line number Diff line number Diff line change 1414
1515 <ItemGroup >
1616 <PackageReference Include =" NServiceBus" Version =" 9.*" />
17- <PackageReference Include =" NServiceBus.Persistence.NonDurable" Version =" 2.*" />
1817 <PackageReference Include =" NServiceBus.Heartbeat" Version =" 5.*" />
1918 <PackageReference Include =" NServiceBus.Metrics.ServiceControl" Version =" 5.*" />
19+ <PackageReference Include =" NServiceBus.Persistence.NonDurable" Version =" 2.*" />
2020 </ItemGroup >
2121
2222 <ItemGroup >
23- <Compile Include =" ..\MonitoringDemo\UserInterface.cs" >
24- <Link >UserInterface.cs</Link >
25- </Compile >
26- <Compile Include =" ..\MonitoringDemo\DeterministicGuid.cs" >
27- <Link >DeterministicGuid.cs</Link >
28- </Compile >
23+ <Compile Include =" ..\MonitoringDemo\DeterministicGuid.cs" />
24+ <Compile Include =" ..\MonitoringDemo\UserInterface.cs" />
2925 </ItemGroup >
3026
3127</Project >
Original file line number Diff line number Diff line change 1919 </ItemGroup >
2020
2121 <ItemGroup >
22- <Compile Include =" ..\MonitoringDemo\UserInterface.cs" >
23- <Link >UserInterface.cs</Link >
24- </Compile >
25- <Compile Include =" ..\MonitoringDemo\DeterministicGuid.cs" >
26- <Link >DeterministicGuid.cs</Link >
27- </Compile >
22+ <Compile Include =" ..\MonitoringDemo\DeterministicGuid.cs" />
23+ <Compile Include =" ..\MonitoringDemo\UserInterface.cs" />
2824 </ItemGroup >
2925
3026</Project >
You can’t perform that action at this time.
0 commit comments