This repository was archived by the owner on Jul 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Generator/CommandGenerators Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 22using Microsoft . CodeAnalysis . CSharp . Syntax ;
33using PlasticCommand . Generator . Analysis ;
44using System . Text ;
5- using System . Xml . Linq ;
65
76namespace PlasticCommand . Generator . CommandGenerators ;
87
Original file line number Diff line number Diff line change 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 >
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 >
You can’t perform that action at this time.
0 commit comments