forked from zhongkaifu/TensorSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTensorSharp.Core.csproj
More file actions
40 lines (40 loc) · 2.11 KB
/
Copy pathTensorSharp.Core.csproj
File metadata and controls
40 lines (40 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<OutputType>Library</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>bin\</OutputPath>
<IsPackable>true</IsPackable>
<!-- Ships as TensorSharp.Tensors, not TensorSharp.Core: the TensorSharp.Core
id on nuget.org belongs to an unrelated, abandoned project (all versions
unlisted, source repo deleted) and pushing to it returns 403. Only the
NuGet id differs - the assembly, namespaces, and project name stay
TensorSharp.Core, so consumer `using` statements are unaffected.
Do not "fix" this back to the default without checking id ownership. -->
<PackageId>TensorSharp.Tensors</PackageId>
<Nullable>disable</Nullable>
<Description>Core tensor primitives, CPU operations, memory management, storage, and device abstractions for TensorSharp.</Description>
<PackageTags>$(TensorSharpPackageTags);core;ops;memory;device;cpu</PackageTags>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseCpuOnly|AnyCPU'">
<OutputPath>bin\ReleaseCpuOnly\</OutputPath>
<Optimize>true</Optimize>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageReference Include="System.Numerics.Tensors" Version="10.0.7" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AdvUtils\AdvUtils.csproj" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
</PropertyGroup>
<Target DependsOnTargets="ResolveReferences" Name="CopyProjectReferencesToPackage">
<ItemGroup>
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))" />
</ItemGroup>
</Target>
</Project>