Skip to content

Commit b0aa174

Browse files
committed
Merge branch 'v2.9.0' of https://github.com/codeproject/CodeProject.AI-Server into v2.9.0
2 parents ee3d3c7 + 789f0f1 commit b0aa174

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

src/demos/modules/DotNetLongProcess/DotNetLongProcess.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,16 @@
5656
<RestoreAdditionalProjectSources Condition="'$(GpuType)'=='OpenVINO'">./LocalNugets</RestoreAdditionalProjectSources>
5757
</PropertyGroup>
5858

59+
<ItemGroup Condition="'$(IsOsx)'=='true' And '$(IsArm64)'=='true'"> <!-- Mac Apple Silicon -->
60+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
61+
</ItemGroup>
62+
63+
<ItemGroup Condition="'$(IsOsx)'!='true' Or '$(IsArm64)'!='true'"> <!-- NOT Mac Apple Silicon -->
64+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
65+
</ItemGroup>
66+
5967
<ItemGroup>
6068
<PackageReference Include="SkiaSharp" Version="2.88.8" />
61-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
6269
</ItemGroup>
6370

6471
<!-- Output the settings based on what we've determined above -->

src/demos/modules/DotNetSimple/DotNetSimple.csproj

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@
5454
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.5" />
5555
<PackageReference Include="SkiaSharp" Version="2.88.8" />
5656

57-
<PackageReference Condition="'$(IsOsx)'=='true' And '$(IsArm64)'=='true'" Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
58-
<PackageReference Condition="'$(IsOsx)'!='true' Or '$(IsArm64)'!='true'" Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
59-
6057
<!-- Hardware Specific packages. Note that for CUDA, even if there may not be any actual
6158
CUDA hardware available, the package will still run fine. It's big, but if it does
6259
find CUDA on the machine then it's worth it. -->
@@ -69,6 +66,14 @@
6966

7067
</ItemGroup>
7168

69+
<ItemGroup Condition="'$(IsOsx)'=='true' And '$(IsArm64)'=='true'"> <!-- Mac Apple Silicon -->
70+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
71+
</ItemGroup>
72+
73+
<ItemGroup Condition="'$(IsOsx)'!='true' Or '$(IsArm64)'!='true'"> <!-- NOT Mac Apple Silicon -->
74+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
75+
</ItemGroup>
76+
7277
<!-- Output the settings based on what we've determined above -->
7378
<Target Name="SettingsCheck" AfterTargets="BeforeBuild">
7479
<Message Importance="High" Text=" $(Name): Building for hardware $(GpuType)" />

0 commit comments

Comments
 (0)