Skip to content

Commit 7703bc9

Browse files
committed
Chore: Update package references and remove obsolete configurations
1 parent c4dedb0 commit 7703bc9

File tree

6 files changed

+10
-25
lines changed

6 files changed

+10
-25
lines changed

src/CodeOfChaos.CliArgsParser.Generators/CodeOfChaos.CliArgsParser.Generators.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@
4141
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="4.14.0" PrivateAssets="all" />
4242
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.14.0" PrivateAssets="all" />
4343
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.14.0" PrivateAssets="all" />
44-
<PackageReference Include="CodeOfChaos.GeneratorTools" Version="1.11.0" Pack="true" GeneratePathProperty="true" PrivateAssets="all" />
44+
<PackageReference Include="CodeOfChaos.GeneratorTools" Version="2.0.0" Pack="true" GeneratePathProperty="true">
45+
<PrivateAssets>all</PrivateAssets>
46+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
47+
</PackageReference>
4548
</ItemGroup>
4649

4750
<ItemGroup>
4851
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
49-
<None Include="$(PkgCodeOfChaos_GeneratorTools)\lib\netstandard2.0\*.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
5052
</ItemGroup>
5153
</Project>

src/CodeOfChaos.CliArgsParser.Library/CodeOfChaos.CliArgsParser.Library.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@
3232
<!-- ProjectReference for the generator as an analyzer -->
3333
<ProjectReference Include="..\CodeOfChaos.CliArgsParser.Generators\CodeOfChaos.CliArgsParser.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
3434
<ProjectReference Include="..\CodeOfChaos.CliArgsParser\CodeOfChaos.CliArgsParser.csproj" />
35-
36-
<!-- Ugly, but this is because of some weirdness with how analyzers are imported through a project reference -->
37-
<PackageReference Include="CodeOfChaos.GeneratorTools" Version="1.11.0" GeneratePathProperty="true" PrivateAssets="all" />
38-
<Analyzer Include="$(PkgCodeOfChaos_GeneratorTools)\lib\netstandard2.0\*.dll" />
3935
</ItemGroup>
4036

4137
<ItemGroup>

src/CodeOfChaos.CliArgsParser/CodeOfChaos.CliArgsParser.csproj

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

3434
<ItemGroup>
35-
<PackageReference Include="CodeOfChaos.Extensions" Version="0.70.1" />
36-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.7" />
37-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.7" />
35+
<PackageReference Include="CodeOfChaos.Extensions" Version="0.79.1" />
36+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.8" />
37+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.8" />
3838
</ItemGroup>
3939

4040
</Project>

src/Sample.CodeOfChaos.CliArgsParser/Sample.CodeOfChaos.CliArgsParser.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
<ItemGroup>
1010
<ProjectReference Include="..\CodeOfChaos.CliArgsParser.Generators\CodeOfChaos.CliArgsParser.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
1111
<ProjectReference Include="..\CodeOfChaos.CliArgsParser\CodeOfChaos.CliArgsParser.csproj"/>
12-
13-
<!-- Ugly, but this is because of some weirdness with how analyzers are imported through a project reference -->
14-
<PackageReference Include="CodeOfChaos.GeneratorTools" Version="1.11.0" GeneratePathProperty="true" PrivateAssets="all" />
15-
<Analyzer Include="$(PkgCodeOfChaos_GeneratorTools)\lib\netstandard2.0\*.dll"/>
1612
</ItemGroup>
1713

1814
</Project>

src/Tools.CodeOfChaos.CliArgsParser/Tools.CodeOfChaos.CliArgsParser.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,12 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.7" />
12+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.8" />
1313
</ItemGroup>
1414

1515
<ItemGroup>
1616
<ProjectReference Include="..\CodeOfChaos.CliArgsParser.Library\CodeOfChaos.CliArgsParser.Library.csproj"/>
1717
<ProjectReference Include="..\CodeOfChaos.CliArgsParser\CodeOfChaos.CliArgsParser.csproj"/>
18-
19-
<!-- Ugly, but this is because of some weirdness with how analyzers are imported through a project reference -->
20-
<PackageReference Include="CodeOfChaos.GeneratorTools" Version="1.11.0" GeneratePathProperty="true" PrivateAssets="all" />
21-
<Analyzer Include="$(PkgCodeOfChaos_GeneratorTools)\lib\netstandard2.0\*.dll"/>
2218
</ItemGroup>
2319

2420
</Project>

tests/Tests.CodeOfChaos.CliArgsParser/Tests.CodeOfChaos.CliArgsParser.csproj

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,18 @@
1111

1212
<ItemGroup>
1313
<PackageReference Include="JetBrains.Annotations" Version="2025.2.0" />
14-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.7" />
14+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.8" />
1515
<PackageReference Include="Moq" Version="4.20.72"/>
16-
<PackageReference Include="TUnit" Version="0.25.21" />
16+
<PackageReference Include="TUnit" Version="0.57.1" />
1717
<PackageReference Include="Bogus" Version="35.6.3" />
1818
</ItemGroup>
1919

2020
<ItemGroup>
2121
<ProjectReference Include="..\..\src\CodeOfChaos.CliArgsParser.Contracts\CodeOfChaos.CliArgsParser.Contracts.csproj" />
2222
<ProjectReference Include="..\..\src\CodeOfChaos.CliArgsParser\CodeOfChaos.CliArgsParser.csproj"/>
2323

24-
2524
<ProjectReference Include="..\..\src\CodeOfChaos.CliArgsParser.Generators\CodeOfChaos.CliArgsParser.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
2625
<ProjectReference Include="..\..\src\CodeOfChaos.CliArgsParser\CodeOfChaos.CliArgsParser.csproj"/>
27-
28-
<!-- Ugly, but this is because of some weirdness with how analyzers are imported through a project reference -->
29-
<PackageReference Include="CodeOfChaos.GeneratorTools" Version="1.11.0" GeneratePathProperty="true" PrivateAssets="all" />
30-
<Analyzer Include="$(PkgCodeOfChaos_GeneratorTools)\lib\netstandard2.0\*.dll"/>
3126
</ItemGroup>
3227

3328
</Project>

0 commit comments

Comments
 (0)