Skip to content

Commit 41e1cb8

Browse files
committed
Added Fusion .NET 8 Support
1 parent dcf3f24 commit 41e1cb8

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

src/HotChocolate/Fusion/src/Abstractions/HotChocolate.Fusion.Abstractions.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@
1717
<ProjectReference Include="..\..\..\Utilities\src\Utilities\HotChocolate.Utilities.csproj" />
1818
</ItemGroup>
1919

20-
<ItemGroup>
20+
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
2121
<PackageReference Include="System.IO.Packaging" Version="7.0.0" />
2222
</ItemGroup>
2323

24+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
25+
<PackageReference Include="System.IO.Packaging" Version="8.0.0-preview.6.23329.7" />
26+
</ItemGroup>
27+
2428
<ItemGroup>
2529
<EmbeddedResource Update="FusionAbstractionResources.resx">
2630
<Generator>ResXFileCodeGenerator</Generator>

src/HotChocolate/Fusion/src/CommandLine/HotChocolate.Fusion.CommandLine.csproj

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PackAsTool>true</PackAsTool>
99
<ToolCommandName>fusion</ToolCommandName>
1010
</PropertyGroup>
11-
11+
1212
<ItemGroup>
1313
<Using Include="HotChocolate.Fusion.CommandLine" />
1414
<Using Include="System.CommandLine.Parsing" />
@@ -19,10 +19,17 @@
1919
</ItemGroup>
2020

2121
<ItemGroup>
22+
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
23+
</ItemGroup>
24+
25+
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
2226
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="7.0.0" />
2327
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
24-
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
25-
<PackageReference Include="System.IO.Packaging" Version="7.0.0" />
28+
</ItemGroup>
29+
30+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
31+
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0-preview.6.23329.7" />
32+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0-preview.6.23329.7" />
2633
</ItemGroup>
2734

2835
<ItemGroup>

src/HotChocolate/Fusion/src/Composition/HotChocolate.Fusion.Composition.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
<ProjectReference Include="..\Abstractions\HotChocolate.Fusion.Abstractions.csproj" />
1717
</ItemGroup>
1818

19-
<ItemGroup>
20-
<PackageReference Include="Nanoid" Version="2.1.0" />
21-
</ItemGroup>
22-
2319
<ItemGroup>
2420
<EmbeddedResource Update="Properties\CompositionResources.resx">
2521
<Generator>ResXFileCodeGenerator</Generator>

0 commit comments

Comments
 (0)