Skip to content

Commit

Permalink
update packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
sang-hyeon committed Apr 4, 2023
1 parent 207ff59 commit c248957
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/PlasticCommand.UnitTests/InitializerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void register_generated_command_as_interface()
services.AddPlastic();
ServiceProvider provider = services.BuildServiceProvider();

ITestCommand actualCommand = provider.GetService<ITestCommand>();
ITestCommand actualCommand = provider.GetRequiredService<ITestCommand>();

(actualCommand is TestCommand).Should().BeTrue();
}
Expand Down
8 changes: 4 additions & 4 deletions src/PlasticCommand.UnitTests/PlasticCommand.UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PackageReference Include="coverlet.collector" Version="3.2.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>

<PackageReference Include="FluentAssertions" Version="6.3.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.1" />
<PackageReference Include="FluentAssertions" Version="6.10.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Microsoft.CodeAnalysis.CSharp.Syntax;
using PlasticCommand.Generator.Analysis;
using System.Text;
using System.Xml.Linq;

namespace PlasticCommand.Generator.CommandGenerators;

Expand Down
9 changes: 5 additions & 4 deletions src/PlasticCommand/PlasticCommand.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
</PropertyGroup>

<!-- metadata -->
<PropertyGroup>
<Version>2.2.3</Version>
<Version>2.3.0</Version>
<NeutralLanguage>en-US</NeutralLanguage>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>SangHyeon.Kim</Authors>
Expand Down Expand Up @@ -44,12 +45,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.3">
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.5.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />

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

0 comments on commit c248957

Please sign in to comment.