Skip to content

Commit a5d1b40

Browse files
committed
Setup nuget
1 parent 83bdc24 commit a5d1b40

File tree

11 files changed

+84
-137
lines changed

11 files changed

+84
-137
lines changed

Directory.Build.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project>
2+
<PropertyGroup>
3+
<Version>0.1.1</Version>
4+
<Company>TensorStack</Company>
5+
<Copyright>TensorStack 2025</Copyright>
6+
<RepositoryUrl>https://github.com/TensorStack-AI/TensorStack</RepositoryUrl>
7+
<PackageTags>onnx;onnx-runtime;</PackageTags>
8+
<Authors>sa_ddam213</Authors>
9+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
10+
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
11+
<ImplicitUsings>disable</ImplicitUsings>
12+
<Nullable>disable</Nullable>
13+
<PackageOutputPath>..\..\Nuget</PackageOutputPath>
14+
</PropertyGroup>
15+
</Project>

TensorStack.Common/TensorStack.Common.csproj

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>0.0.1</Version>
54
<TargetFramework>net9.0</TargetFramework>
6-
<ImplicitUsings>disable</ImplicitUsings>
7-
<Nullable>disable</Nullable>
85
<PlatformTarget>x64</PlatformTarget>
96
<Description></Description>
107
</PropertyGroup>
118

12-
139
<!--Nuget Packages-->
1410
<ItemGroup>
15-
<PackageReference Include="System.Numerics.Tensors" Version="9.0.8" />
11+
<PackageReference Include="System.Numerics.Tensors" Version="9.0.9" />
1612
<PackageReference Include="Microsoft.ML.OnnxRuntime.Managed" Version="1.22.2" />
1713
</ItemGroup>
1814

19-
2015
<!--Nuget Settings-->
2116
<PropertyGroup>
2217
<Title>$(AssemblyName)</Title>
2318
<PackageId>$(AssemblyName)</PackageId>
2419
<Product>$(AssemblyName)</Product>
25-
<Authors>sa_ddam213</Authors>
26-
<Company>TensorStack</Company>
27-
<Copyright>TensorStack - 2025</Copyright>
28-
<RepositoryUrl>https://github.com/TensorStack-AI/TensorStack</RepositoryUrl>
29-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
30-
<PackageTags>onnx;onnx-runtime;net9;</PackageTags>
31-
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
20+
<Description></Description>
3221
<PackageIcon>Icon.png</PackageIcon>
3322
</PropertyGroup>
3423
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,28 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>0.0.1</Version>
54
<TargetFramework>net9.0</TargetFramework>
6-
<ImplicitUsings>disable</ImplicitUsings>
7-
<Nullable>disable</Nullable>
85
<PlatformTarget>x64</PlatformTarget>
96
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
10-
<Description></Description>
117
</PropertyGroup>
128

139

1410
<!--Projects-->
11+
<ItemGroup Condition=" '$(Configuration)' == 'Debug'">
12+
<ProjectReference Include="..\TensorStack.Common\TensorStack.Common.csproj" />
13+
</ItemGroup>
14+
15+
<!--Packages-->
16+
<ItemGroup Condition=" '$(Configuration)' == 'Release'">
17+
<PackageReference Include="TensorStack.Common" Version="$(Version)" />
18+
</ItemGroup>
1519

1620

1721
<!--Nuget Settings-->
1822
<PropertyGroup>
1923
<Title>$(AssemblyName)</Title>
2024
<PackageId>$(AssemblyName)</PackageId>
2125
<Product>$(AssemblyName)</Product>
22-
<Authors>sa_ddam213</Authors>
23-
<Company>TensorStack</Company>
24-
<Copyright>TensorStack - 2025</Copyright>
25-
<RepositoryUrl>https://github.com/TensorStack-AI/TensorStack</RepositoryUrl>
26-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
27-
<PackageTags>onnx;onnx-runtime;net9;</PackageTags>
28-
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
2926
<PackageIcon>Icon.png</PackageIcon>
3027
</PropertyGroup>
3128
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
@@ -43,8 +40,5 @@
4340
<PackagePath>\</PackagePath>
4441
</None>
4542
</ItemGroup>
46-
<ItemGroup>
47-
<ProjectReference Include="..\TensorStack.Common\TensorStack.Common.csproj" />
48-
</ItemGroup>
4943

5044
</Project>

TensorStack.Image.Bitmap/TensorStack.Image.Bitmap.csproj

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>0.0.1</Version>
54
<TargetFramework>net9.0</TargetFramework>
65
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
7-
<ImplicitUsings>disable</ImplicitUsings>
8-
<Nullable>disable</Nullable>
96
<PlatformTarget>x64</PlatformTarget>
107
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
11-
<Description></Description>
128
</PropertyGroup>
139

1410

1511
<!--Projects-->
16-
<ItemGroup>
12+
<ItemGroup Condition=" '$(Configuration)' == 'Debug'">
1713
<ProjectReference Include="..\TensorStack.Common\TensorStack.Common.csproj" />
1814
</ItemGroup>
1915

16+
<!--Packages-->
17+
<ItemGroup Condition=" '$(Configuration)' == 'Release'">
18+
<PackageReference Include="TensorStack.Common" Version="$(Version)" />
19+
</ItemGroup>
2020

21-
<!--Nuget Packages-->
21+
<!--Common Packages-->
2222
<ItemGroup>
23-
<PackageReference Include="System.Drawing.Common" Version="9.0.8" />
23+
<PackageReference Include="System.Drawing.Common" Version="9.0.9" />
2424
</ItemGroup>
2525

2626

@@ -29,13 +29,6 @@
2929
<Title>$(AssemblyName)</Title>
3030
<PackageId>$(AssemblyName)</PackageId>
3131
<Product>$(AssemblyName)</Product>
32-
<Authors>sa_ddam213</Authors>
33-
<Company>TensorStack</Company>
34-
<Copyright>TensorStack - 2025</Copyright>
35-
<RepositoryUrl>https://github.com/TensorStack-AI/TensorStack</RepositoryUrl>
36-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
37-
<PackageTags>onnx;onnx-runtime;net9;</PackageTags>
38-
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
3932
<PackageIcon>Icon.png</PackageIcon>
4033
</PropertyGroup>
4134
<ItemGroup Condition="'$(Configuration)' == 'Debug'">

TensorStack.Image.BitmapImage/TensorStack.Image.BitmapImage.csproj

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,30 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>0.0.1</Version>
54
<TargetFramework>net9.0-windows</TargetFramework>
65
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
7-
<ImplicitUsings>disable</ImplicitUsings>
8-
<Nullable>disable</Nullable>
96
<PlatformTarget>x64</PlatformTarget>
107
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
118
<UseWPF>true</UseWPF>
12-
<Description></Description>
139
</PropertyGroup>
1410

1511

1612
<!--Projects-->
17-
<ItemGroup>
13+
<ItemGroup Condition=" '$(Configuration)' == 'Debug'">
1814
<ProjectReference Include="..\TensorStack.Common\TensorStack.Common.csproj" />
1915
</ItemGroup>
2016

17+
<!--Packages-->
18+
<ItemGroup Condition=" '$(Configuration)' == 'Release'">
19+
<PackageReference Include="TensorStack.Common" Version="$(Version)" />
20+
</ItemGroup>
21+
2122

2223
<!--Nuget Settings-->
2324
<PropertyGroup>
2425
<Title>$(AssemblyName)</Title>
2526
<PackageId>$(AssemblyName)</PackageId>
2627
<Product>$(AssemblyName)</Product>
27-
<Authors>sa_ddam213</Authors>
28-
<Company>TensorStack</Company>
29-
<Copyright>TensorStack - 2025</Copyright>
30-
<RepositoryUrl>https://github.com/TensorStack-AI/TensorStack</RepositoryUrl>
31-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
32-
<PackageTags>onnx;onnx-runtime;net9;</PackageTags>
33-
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
3428
<PackageIcon>Icon.png</PackageIcon>
3529
</PropertyGroup>
3630
<ItemGroup Condition="'$(Configuration)' == 'Debug'">

TensorStack.Image.ImageSharp/TensorStack.Image.ImageSharp.csproj

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>0.0.1</Version>
54
<TargetFramework>net9.0</TargetFramework>
6-
<ImplicitUsings>disable</ImplicitUsings>
7-
<Nullable>disable</Nullable>
85
<PlatformTarget>x64</PlatformTarget>
9-
<Description></Description>
106
</PropertyGroup>
117

128

139
<!--Projects-->
14-
<ItemGroup>
10+
<ItemGroup Condition=" '$(Configuration)' == 'Debug'">
1511
<ProjectReference Include="..\TensorStack.Common\TensorStack.Common.csproj" />
1612
</ItemGroup>
1713

14+
<!--Packages-->
15+
<ItemGroup Condition=" '$(Configuration)' == 'Release'">
16+
<PackageReference Include="TensorStack.Common" Version="$(Version)" />
17+
</ItemGroup>
1818

19-
<!--Nuget Packages-->
19+
<!--Common Packages-->
2020
<ItemGroup>
2121
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.11" />
2222
</ItemGroup>
@@ -27,13 +27,6 @@
2727
<Title>$(AssemblyName)</Title>
2828
<PackageId>$(AssemblyName)</PackageId>
2929
<Product>$(AssemblyName)</Product>
30-
<Authors>sa_ddam213</Authors>
31-
<Company>TensorStack</Company>
32-
<Copyright>TensorStack - 2025</Copyright>
33-
<RepositoryUrl>https://github.com/TensorStack-AI/TensorStack</RepositoryUrl>
34-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
35-
<PackageTags>onnx;onnx-runtime;net9;</PackageTags>
36-
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
3730
<PackageIcon>Icon.png</PackageIcon>
3831
</PropertyGroup>
3932
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>0.0.1</Version>
54
<TargetFramework>net9.0</TargetFramework>
6-
<ImplicitUsings>disable</ImplicitUsings>
7-
<Nullable>disable</Nullable>
85
<PlatformTarget>x64</PlatformTarget>
9-
<Description></Description>
106
</PropertyGroup>
117

128

139
<!--Projects-->
14-
10+
<ItemGroup Condition=" '$(Configuration)' == 'Debug'">
11+
<ProjectReference Include="..\TensorStack.Common\TensorStack.Common.csproj" />
12+
</ItemGroup>
1513

1614
<!--Packages-->
15+
<ItemGroup Condition=" '$(Configuration)' == 'Release'">
16+
<PackageReference Include="TensorStack.Common" Version="$(Version)" />
17+
</ItemGroup>
18+
19+
<!--Common Packages-->
1720
<ItemGroup>
18-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.8" />
21+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.9" />
1922
<PackageReference Include="Microsoft.ML.Tokenizers" Version="2.0.0-preview.1.25125.4" />
2023
</ItemGroup>
2124

@@ -25,13 +28,6 @@
2528
<Title>$(AssemblyName)</Title>
2629
<PackageId>$(AssemblyName)</PackageId>
2730
<Product>$(AssemblyName)</Product>
28-
<Authors>sa_ddam213</Authors>
29-
<Company>TensorStack</Company>
30-
<Copyright>TensorStack - 2025</Copyright>
31-
<RepositoryUrl>https://github.com/TensorStack-AI/TensorStack</RepositoryUrl>
32-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
33-
<PackageTags>onnx;onnx-runtime;net9;</PackageTags>
34-
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
3531
<PackageIcon>Icon.png</PackageIcon>
3632
</PropertyGroup>
3733
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
@@ -49,10 +45,5 @@
4945
<PackagePath>\</PackagePath>
5046
</None>
5147
</ItemGroup>
52-
<ItemGroup>
53-
<ProjectReference Include="..\TensorStack.Common\TensorStack.Common.csproj" />
54-
</ItemGroup>
55-
56-
5748

5849
</Project>

TensorStack.TextGeneration/TensorStack.TextGeneration.csproj

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>0.0.1</Version>
54
<TargetFramework>net9.0</TargetFramework>
6-
<ImplicitUsings>disable</ImplicitUsings>
7-
<Nullable>disable</Nullable>
85
<PlatformTarget>x64</PlatformTarget>
9-
<Description></Description>
106
</PropertyGroup>
117

8+
129
<!--Projects-->
13-
<ItemGroup>
10+
<ItemGroup Condition=" '$(Configuration)' == 'Debug'">
1411
<ProjectReference Include="..\TensorStack.Common\TensorStack.Common.csproj" />
1512
</ItemGroup>
1613

17-
<!--Nuget Packages-->
14+
<!--Packages-->
15+
<ItemGroup Condition=" '$(Configuration)' == 'Release'">
16+
<PackageReference Include="TensorStack.Common" Version="$(Version)" />
17+
</ItemGroup>
18+
19+
<!--Common Packages-->
1820
<ItemGroup>
1921
<PackageReference Include="Microsoft.ML.Tokenizers" Version="2.0.0-preview.1.25125.4" />
2022
<PackageReference Include="System.Linq.Async" Version="6.0.3" />
@@ -26,13 +28,6 @@
2628
<Title>$(AssemblyName)</Title>
2729
<PackageId>$(AssemblyName)</PackageId>
2830
<Product>$(AssemblyName)</Product>
29-
<Authors>sa_ddam213</Authors>
30-
<Company>TensorStack</Company>
31-
<Copyright>TensorStack - 2025</Copyright>
32-
<RepositoryUrl>https://github.com/TensorStack-AI/TensorStack</RepositoryUrl>
33-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
34-
<PackageTags>onnx;onnx-runtime;net9;</PackageTags>
35-
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
3631
<PackageIcon>Icon.png</PackageIcon>
3732
</PropertyGroup>
3833
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,28 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>0.0.1</Version>
54
<TargetFramework>net9.0</TargetFramework>
6-
<ImplicitUsings>disable</ImplicitUsings>
7-
<Nullable>disable</Nullable>
85
<PlatformTarget>x64</PlatformTarget>
96
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
10-
<Description></Description>
117
</PropertyGroup>
128

139

1410
<!--Projects-->
11+
<ItemGroup Condition=" '$(Configuration)' == 'Debug'">
12+
<ProjectReference Include="..\TensorStack.Common\TensorStack.Common.csproj" />
13+
</ItemGroup>
14+
15+
<!--Packages-->
16+
<ItemGroup Condition=" '$(Configuration)' == 'Release'">
17+
<PackageReference Include="TensorStack.Common" Version="$(Version)" />
18+
</ItemGroup>
1519

1620

1721
<!--Nuget Settings-->
1822
<PropertyGroup>
1923
<Title>$(AssemblyName)</Title>
2024
<PackageId>$(AssemblyName)</PackageId>
2125
<Product>$(AssemblyName)</Product>
22-
<Authors>sa_ddam213</Authors>
23-
<Company>TensorStack</Company>
24-
<Copyright>TensorStack - 2025</Copyright>
25-
<RepositoryUrl>https://github.com/TensorStack-AI/TensorStack</RepositoryUrl>
26-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
27-
<PackageTags>onnx;onnx-runtime;net9;</PackageTags>
28-
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
2926
<PackageIcon>Icon.png</PackageIcon>
3027
</PropertyGroup>
3128
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
@@ -43,8 +40,6 @@
4340
<PackagePath>\</PackagePath>
4441
</None>
4542
</ItemGroup>
46-
<ItemGroup>
47-
<ProjectReference Include="..\TensorStack.Common\TensorStack.Common.csproj" />
48-
</ItemGroup>
43+
4944

5045
</Project>

0 commit comments

Comments
 (0)