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()
38
38
services . AddPlastic ( ) ;
39
39
ServiceProvider provider = services . BuildServiceProvider ( ) ;
40
40
41
- ITestCommand actualCommand = provider . GetService < ITestCommand > ( ) ;
41
+ ITestCommand actualCommand = provider . GetRequiredService < ITestCommand > ( ) ;
42
42
43
43
( actualCommand is TestCommand ) . Should ( ) . BeTrue ( ) ;
44
44
}
Original file line number Diff line number Diff line change 11
11
</PropertyGroup >
12
12
13
13
<ItemGroup >
14
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.3.2 " />
14
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.5.0 " />
15
15
<PackageReference Include =" xunit" Version =" 2.4.2" />
16
16
<PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.5" >
17
17
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
18
18
<PrivateAssets >all</PrivateAssets >
19
19
</PackageReference >
20
- <PackageReference Include =" coverlet.collector" Version =" 3.1.2 " >
20
+ <PackageReference Include =" coverlet.collector" Version =" 3.2.0 " >
21
21
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
22
22
<PrivateAssets >all</PrivateAssets >
23
23
</PackageReference >
24
24
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 " />
27
27
</ItemGroup >
28
28
29
29
<ItemGroup >
Original file line number Diff line number Diff line change 2
2
using Microsoft . CodeAnalysis . CSharp . Syntax ;
3
3
using PlasticCommand . Generator . Analysis ;
4
4
using System . Text ;
5
- using System . Xml . Linq ;
6
5
7
6
namespace PlasticCommand . Generator . CommandGenerators ;
8
7
Original file line number Diff line number Diff line change 9
9
<EmitCompilerGeneratedFiles >true</EmitCompilerGeneratedFiles >
10
10
<CompilerGeneratedFilesOutputPath >Generated</CompilerGeneratedFilesOutputPath >
11
11
<EnforceCodeStyleInBuild >true</EnforceCodeStyleInBuild >
12
+ <EnforceExtendedAnalyzerRules >true</EnforceExtendedAnalyzerRules >
12
13
</PropertyGroup >
13
14
14
15
<!-- metadata -->
15
16
<PropertyGroup >
16
- <Version >2.2.3 </Version >
17
+ <Version >2.3.0 </Version >
17
18
<NeutralLanguage >en-US</NeutralLanguage >
18
19
<GeneratePackageOnBuild >true</GeneratePackageOnBuild >
19
20
<Authors >SangHyeon.Kim</Authors >
44
45
</ItemGroup >
45
46
46
47
<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 " >
49
50
<PrivateAssets >all</PrivateAssets >
50
51
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
51
52
</PackageReference >
52
- <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 6 .0.0" />
53
+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 7 .0.0" />
53
54
54
55
<None Include =" $(OutputPath)\$(AssemblyName).dll" Pack =" true" PackagePath =" analyzers/dotnet/cs" Visible =" false" />
55
56
</ItemGroup >
You can’t perform that action at this time.
0 commit comments