Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit c248957

Browse files
committed
update packages.
1 parent 207ff59 commit c248957

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/PlasticCommand.UnitTests/InitializerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void register_generated_command_as_interface()
3838
services.AddPlastic();
3939
ServiceProvider provider = services.BuildServiceProvider();
4040

41-
ITestCommand actualCommand = provider.GetService<ITestCommand>();
41+
ITestCommand actualCommand = provider.GetRequiredService<ITestCommand>();
4242

4343
(actualCommand is TestCommand).Should().BeTrue();
4444
}

src/PlasticCommand.UnitTests/PlasticCommand.UnitTests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
1515
<PackageReference Include="xunit" Version="2.4.2" />
1616
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
<PrivateAssets>all</PrivateAssets>
1919
</PackageReference>
20-
<PackageReference Include="coverlet.collector" Version="3.1.2">
20+
<PackageReference Include="coverlet.collector" Version="3.2.0">
2121
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2222
<PrivateAssets>all</PrivateAssets>
2323
</PackageReference>
2424

25-
<PackageReference Include="FluentAssertions" Version="6.3.0" />
26-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.1" />
25+
<PackageReference Include="FluentAssertions" Version="6.10.0" />
26+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
2727
</ItemGroup>
2828

2929
<ItemGroup>

src/PlasticCommand/Generator/CommandGenerators/ValidatableCommandGenerator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using Microsoft.CodeAnalysis.CSharp.Syntax;
33
using PlasticCommand.Generator.Analysis;
44
using System.Text;
5-
using System.Xml.Linq;
65

76
namespace PlasticCommand.Generator.CommandGenerators;
87

src/PlasticCommand/PlasticCommand.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
1010
<CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>
1111
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
12+
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
1213
</PropertyGroup>
1314

1415
<!-- metadata -->
1516
<PropertyGroup>
16-
<Version>2.2.3</Version>
17+
<Version>2.3.0</Version>
1718
<NeutralLanguage>en-US</NeutralLanguage>
1819
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1920
<Authors>SangHyeon.Kim</Authors>
@@ -44,12 +45,12 @@
4445
</ItemGroup>
4546

4647
<ItemGroup>
47-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0" PrivateAssets="all" />
48-
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.3">
48+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.5.0" PrivateAssets="all" />
49+
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4">
4950
<PrivateAssets>all</PrivateAssets>
5051
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5152
</PackageReference>
52-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
53+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
5354

5455
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
5556
</ItemGroup>

0 commit comments

Comments
 (0)