Skip to content

Commit c19206a

Browse files
bmehta001Copilot
andcommitted
Lower C# WinML target framework
Align the C# SDK WinML package and test project target frameworks with the WinML GA minimum Windows version. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 21033c7 commit c19206a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sdk/cs/src/Microsoft.AI.Foundry.Local.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<PackageId>Microsoft.AI.Foundry.Local.WinML</PackageId>
8989
<AssemblyName>Microsoft.AI.Foundry.Local.WinML</AssemblyName>
9090
<DefineConstants>$(DefineConstants);IS_WINML</DefineConstants>
91-
<TargetFramework>net9.0-windows10.0.26100.0</TargetFramework> <!-- override -->
91+
<TargetFramework>net9.0-windows10.0.18362.0</TargetFramework> <!-- override -->
9292
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
9393
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
9494

sdk/cs/test/FoundryLocal.Tests/Microsoft.AI.Foundry.Local.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</PropertyGroup>
2020

2121
<PropertyGroup Condition="'$(UseWinML)'=='true'">
22-
<TargetFramework>net9.0-windows10.0.26100.0</TargetFramework>
22+
<TargetFramework>net9.0-windows10.0.18362.0</TargetFramework>
2323
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
2424
<WindowsPackageType>None</WindowsPackageType>
2525
</PropertyGroup>

0 commit comments

Comments
 (0)