Skip to content

Commit 309cc5f

Browse files
committed
Clean up CpuMath related csproj
1 parent 2b4453c commit 309cc5f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Microsoft.ML.CpuMath/Microsoft.ML.CpuMath.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<Import Project="$(RepoRoot)eng/pkg/Pack.props" />
2+
<Import Project="$(RepoRoot)eng/pkg/Pack.props"/>
33
<PropertyGroup>
44
<TargetFrameworks>net8.0</TargetFrameworks>
55
<IncludeInPackage>Microsoft.ML.CpuMath</IncludeInPackage>
@@ -11,7 +11,8 @@
1111
<Compile Include="..\Microsoft.ML.Core\Utilities\Contracts.cs" />
1212
<Compile Include="..\Microsoft.ML.Core\BestFriendAttribute.cs" />
1313
<Compile Include="..\Microsoft.ML.Core\PublicKey.cs" />
14-
<!-- Workaround https://github.com/dotnet/project-system/issues/935 -->
15-
<None Include="**/*.cs" />
14+
</ItemGroup>
15+
<ItemGroup>
16+
<Content Include="build\**\*" Pack="true" PackagePath="build" />
1617
</ItemGroup>
1718
</Project>

test/Microsoft.ML.CpuMath.UnitTests/Microsoft.ML.CpuMath.UnitTests.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
<ProjectReference Include="..\Microsoft.ML.TestFramework\Microsoft.ML.TestFramework.csproj" />
66
</ItemGroup>
77

8-
<!-- Still Needed?
98
<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
109
<NativeAssemblyReference Include="CpuMathNative" />
1110
</ItemGroup>
12-
-->
11+
1312
<ItemGroup>
1413
<NativeAssemblyReference Include="MklImports" />
1514
<NativeAssemblyReference Condition="'$(OS)' == 'Windows_NT'" Include="libiomp5md" />

0 commit comments

Comments
 (0)