Skip to content

Commit 6828266

Browse files
authored
Merge pull request #371 from dotnet/feature/versionbumps
Bumping dependencies
2 parents 3fd93b8 + f6159c0 commit 6828266

8 files changed

Lines changed: 31 additions & 19 deletions

File tree

Bruce/Bruce.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
</ItemGroup>
3333

3434
<ItemGroup>
35-
<PackageReference Include="DnsClient" Version="1.4.0" />
36-
<PackageReference Include="Humanizer.Core" Version="2.10.1" />
35+
<PackageReference Include="DnsClient" Version="1.7.0" />
36+
<PackageReference Include="Humanizer.Core" Version="2.14.1" />
3737
</ItemGroup>
3838

3939
<ItemGroup>

Bruce/CommandLine/CommandLoader.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,16 @@ internal static IEnumerable<Type> LoadTypes()
6161

6262
foreach (var assembly in assemblies)
6363
{
64-
var types = assembly.GetTypes().Where(t => t.GetCustomAttribute<CommandLineCommandAttribute>() != null);
64+
IEnumerable<Type> types = Array.Empty<Type>();
65+
66+
try
67+
{
68+
types = assembly.GetTypes().Where(t => t.GetCustomAttribute<CommandLineCommandAttribute>() != null);
69+
}
70+
catch (ReflectionTypeLoadException rex)
71+
{
72+
Debug.WriteLine(rex);
73+
}
6574

6675
foreach (var type in types)
6776
{

Directory.build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</PropertyGroup>
2626

2727
<ItemGroup>
28-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
28+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
2929
<PackageReference Include="Nerdbank.GitVersioning" Version="3.4.203" PrivateAssets="all" />
3030
</ItemGroup>
3131

Kerberos.NET/Kerberos.NET.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@
7979
</ItemGroup>
8080

8181
<ItemGroup>
82-
<PackageReference Include="System.Memory" Version="4.5.4" />
83-
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="5.0.1" />
84-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="5.0.0" />
82+
<PackageReference Include="System.Memory" Version="4.5.5" />
83+
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="8.0.0" />
84+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
8585
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
8686
</ItemGroup>
8787

Samples/KerbDumpCore/KerbDumpCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</ItemGroup>
2121

2222
<ItemGroup>
23-
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
23+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
2424
</ItemGroup>
2525

2626
<ItemGroup>

Tests/Benchmark.Kerberos.NET/Benchmark.Kerberos.NET.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77

88
<DebugType>pdbonly</DebugType>
99
<DebugSymbols>true</DebugSymbols>
10+
<StartupObject>Benchmark.Kerberos.NET.Program</StartupObject>
1011
</PropertyGroup>
1112

1213
<ItemGroup>
13-
<PackageReference Include="BenchmarkDotNet" Version="0.13.0" />
14-
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.0" />
14+
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
15+
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.12" />
1516
</ItemGroup>
1617

1718
<ItemGroup>

Tests/Benchmark.Kerberos.NET/Program.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,13 @@ public static CommandLineParameters Parse(string[] args)
141141
}
142142
}
143143

144-
class Program
144+
public class Program
145145
{
146146
private static readonly EventWaitHandle WaitForAllProcessesToStart = new EventWaitHandle(false, EventResetMode.ManualReset, "KerbBenchmarkRunnerWaitForAllProcesses");
147147

148-
static async Task Main(string[] args)
148+
static void Main(string[] args) => MainAsync(args).Wait();
149+
150+
static async Task MainAsync(string[] args)
149151
{
150152
var cmd = CommandLineParameters.Parse(args);
151153

@@ -216,7 +218,7 @@ static async Task Main(string[] args)
216218
}
217219
}
218220

219-
public static IEnumerable<List<T>> SplitList<T>(List<T> locations, int size)
221+
private static IEnumerable<List<T>> SplitList<T>(List<T> locations, int size)
220222
{
221223
for (int i = 0; i < locations.Count; i += size)
222224
{

Tests/Tests.Kerberos.NET/Tests.Kerberos.NET.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<PackageReference Include="Microsoft.CodeCoverage" Version="16.9.4" />
33-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
34-
<PackageReference Include="MSTest.TestAdapter" Version="2.2.3" />
35-
<PackageReference Include="MSTest.TestFramework" Version="2.2.3" />
36-
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="5.0.1" />
32+
<PackageReference Include="Microsoft.CodeCoverage" Version="17.10.0" />
33+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
34+
<PackageReference Include="MSTest.TestAdapter" Version="3.4.3" />
35+
<PackageReference Include="MSTest.TestFramework" Version="3.4.3" />
36+
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="8.0.0" />
3737
</ItemGroup>
3838

3939
<ItemGroup>
@@ -144,7 +144,7 @@
144144
</ItemGroup>
145145

146146
<ItemGroup>
147-
<PackageReference Update="coverlet.collector" Version="3.0.3">
147+
<PackageReference Update="coverlet.collector" Version="6.0.2">
148148
<PrivateAssets>all</PrivateAssets>
149149
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
150150
</PackageReference>

0 commit comments

Comments
 (0)