From eef01a9471f613b34d888d69e6f97d676bace455 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Tue, 15 May 2018 18:00:52 -0500 Subject: [PATCH] Support packages.config Copy our native assemblies using MSBuild when a consumer is using NuGet packages.config, since NuGet doesn't do this automatically. Also, add an error when a consumer isn't targeting x64 to tell them ML.NET only supports x64. Fix #93 --- pkg/Microsoft.ML/Microsoft.ML.nupkgproj | 3 +++ pkg/Microsoft.ML/build/Microsoft.ML.props | 17 ++++++++++++++++ pkg/Microsoft.ML/build/Microsoft.ML.targets | 22 +++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 pkg/Microsoft.ML/build/Microsoft.ML.props create mode 100644 pkg/Microsoft.ML/build/Microsoft.ML.targets diff --git a/pkg/Microsoft.ML/Microsoft.ML.nupkgproj b/pkg/Microsoft.ML/Microsoft.ML.nupkgproj index e0ccd6f03c..b0cedd6ad4 100644 --- a/pkg/Microsoft.ML/Microsoft.ML.nupkgproj +++ b/pkg/Microsoft.ML/Microsoft.ML.nupkgproj @@ -14,4 +14,7 @@ + + + diff --git a/pkg/Microsoft.ML/build/Microsoft.ML.props b/pkg/Microsoft.ML/build/Microsoft.ML.props new file mode 100644 index 0000000000..3970c4d664 --- /dev/null +++ b/pkg/Microsoft.ML/build/Microsoft.ML.props @@ -0,0 +1,17 @@ + + + + + + PreserveNewest + false + + + + \ No newline at end of file diff --git a/pkg/Microsoft.ML/build/Microsoft.ML.targets b/pkg/Microsoft.ML/build/Microsoft.ML.targets new file mode 100644 index 0000000000..b889bdd1ec --- /dev/null +++ b/pkg/Microsoft.ML/build/Microsoft.ML.targets @@ -0,0 +1,22 @@ + + + + true + + + + + + + + + \ No newline at end of file