Skip to content

Commit e1b5b2c

Browse files
committed
updated csproj
1 parent 6df838b commit e1b5b2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/src/Microsoft.ML.OnnxRuntime/Microsoft.ML.OnnxRuntime.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="MSBuild.Sdk.Extras/3.0.44">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<!--- packaging properties -->
44
<OrtPackageId Condition="'$(OrtPackageId)' == ''">Microsoft.ML.OnnxRuntime</OrtPackageId>
@@ -184,7 +184,7 @@
184184
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
185185
</ItemGroup>
186186

187-
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
187+
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
188188
<PackageReference Include="System.Numerics.Tensors" Version="9.0.0" />
189189
</ItemGroup>
190190

0 commit comments

Comments
 (0)