Skip to content

Commit 18572f2

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 b4fb2e3 commit 18572f2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
-->
4444
<PropertyGroup Condition="'$(UseWinML)' == 'true'">
4545
<!-- WinML does not support netstandard2.0, so we only target net8.0 for the WinML build. -->
46-
<TargetFrameworks>net8.0-windows10.0.26100.0</TargetFrameworks>
46+
<TargetFrameworks>net8.0-windows10.0.18362.0</TargetFrameworks>
4747
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
48-
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
48+
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
4949

5050
<IsAotCompatible>true</IsAotCompatible>
5151
<DefineConstants>$(DefineConstants);IS_WINML</DefineConstants>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
</PropertyGroup>
2525

2626
<PropertyGroup Condition="'$(UseWinML)'=='true'">
27-
<TargetFrameworks>net8.0-windows10.0.26100.0;</TargetFrameworks>
28-
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
27+
<TargetFrameworks>net8.0-windows10.0.18362.0;</TargetFrameworks>
28+
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
2929
<WindowsPackageType>None</WindowsPackageType>
3030
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
3131
</PropertyGroup>

0 commit comments

Comments
 (0)