From bc7026fea14cb7272f453f5edc6f3ce75bfb3107 Mon Sep 17 00:00:00 2001 From: "Harish S. Kulkarni" Date: Fri, 12 Jul 2019 13:40:27 -0700 Subject: [PATCH] Changed project file to use nuspec file --- .../TensorFlowNET.Redist.nupkgproj | 53 ++++++++----------- src/TensorFlowNET.Redist/redist.nuspec | 26 +++++++++ 2 files changed, 47 insertions(+), 32 deletions(-) create mode 100644 src/TensorFlowNET.Redist/redist.nuspec diff --git a/src/TensorFlowNET.Redist/TensorFlowNET.Redist.nupkgproj b/src/TensorFlowNET.Redist/TensorFlowNET.Redist.nupkgproj index 06ce4974..82f82eba 100644 --- a/src/TensorFlowNET.Redist/TensorFlowNET.Redist.nupkgproj +++ b/src/TensorFlowNET.Redist/TensorFlowNET.Redist.nupkgproj @@ -2,50 +2,38 @@ $(MSBuildThisFileDirectory) - $(ProjRoot)bin\ - $(ProjRoot)obj\ - $(BinDir)packages\ - + $(ProjDir)bin\ + $(ProjDir)obj\ - true - false - x64 netstandard2.0 1.14.0 1 + $(BinDir)packages\ + $(MSBuildProjectName) + 0.15.0 + + true + false + + Redist.nuspec + packageId=$(PackageId);version=$(PackageVersion) + $(ProjDir) + CopyFilesFromArchive - + win linux osx $(PackageRid)-$(TargetArchitecture) - TensorFlowNET.Redist - The TensorFlow Authors - netstandard2.0 - $(MSBuildProjectName) contains the TensorFlow C library version $(TensorFlowVersion) redistributed as a NuGet package. - LICENSE.txt - true - Copyright 2019 The TensorFlow Authors. All rights reserved. - https://www.tensorflow.org - https://github.com/tensorflow/tensorflow/releases/tag/v$(TensorFlowVersion) - $(PackageTags) TensorFlow - false - - - - - - - - - + @@ -174,14 +162,15 @@ TargetPath="$(PackageAssetsPath)$(MSBuildProjectName)\LICENSE.txt" /> - + TargetPath="$(NativeAssetsBuiltPath)\%(_fileFromArchive.DestinationFile)" />--> + diff --git a/src/TensorFlowNET.Redist/redist.nuspec b/src/TensorFlowNET.Redist/redist.nuspec new file mode 100644 index 00000000..f1e934be --- /dev/null +++ b/src/TensorFlowNET.Redist/redist.nuspec @@ -0,0 +1,26 @@ + + + + $packageId$ + $version$ + The TensorFlow Authors + The TensorFlow Authors + true + LICENSE.txt + https://aka.ms/deprecateLicenseUrl + https://www.tensorflow.org/ + TensorFlowNET.Redist contains the TensorFlow C library version 1.14.0 redistributed as a NuGet package. + https://github.com/tensorflow/tensorflow/releases/tag/v1.14.0 + Copyright 2019 The TensorFlow Authors. All rights reserved. + TensorFlow + + + + + + + + + + + \ No newline at end of file