From 399236c6f9cd38dca213884de2a96d6c17b0b478 Mon Sep 17 00:00:00 2001 From: Jonathan Tims Date: Thu, 23 Apr 2020 20:35:35 +0100 Subject: [PATCH] Allow builds to specialise the package ID of generated Runtime, Visualisers, and Compiler NuGet packages (#236) This allows you to avoid confusion of private internal versions of these packages, with those on nuget.org or other feeds with other privately build versions. --- src/Compiler/Compiler.csproj | 1 + src/Runtime/Runtime.csproj | 1 + src/Visualizers/Windows/Visualizers.Windows.csproj | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Compiler/Compiler.csproj b/src/Compiler/Compiler.csproj index 6991d197d..5bec8360d 100644 --- a/src/Compiler/Compiler.csproj +++ b/src/Compiler/Compiler.csproj @@ -5,6 +5,7 @@ Infer.NET is a framework for running Bayesian inference in graphical models. It can also be used for probabilistic programming. This package contains the Infer.NET Compiler, which takes model descriptions written using the Infer.NET API and converts them into inference code. netstandard2.0 $(AssemblyNamePrefix)Microsoft.ML.Probabilistic.Compiler + $(AssemblyName)$(NuGetPackageIdSuffix) TRACE;SUPPRESS_XMLDOC_WARNINGS, SUPPRESS_UNREACHABLE_CODE_WARNINGS, SUPPRESS_AMBIGUOUS_REFERENCE_WARNINGS 1591 Microsoft.ML.Probabilistic diff --git a/src/Runtime/Runtime.csproj b/src/Runtime/Runtime.csproj index a9205298c..ffb87c796 100644 --- a/src/Runtime/Runtime.csproj +++ b/src/Runtime/Runtime.csproj @@ -5,6 +5,7 @@ Infer.NET is a framework for running Bayesian inference in graphical models. It can also be used for probabilistic programming. This package contains classes and methods needed to execute the inference code. netstandard2.0 $(AssemblyNamePrefix)Microsoft.ML.Probabilistic + $(AssemblyName)$(NuGetPackageIdSuffix) TRACE;SUPPRESS_XMLDOC_WARNINGS, SUPPRESS_UNREACHABLE_CODE_WARNINGS 1591 Microsoft.ML.Probabilistic diff --git a/src/Visualizers/Windows/Visualizers.Windows.csproj b/src/Visualizers/Windows/Visualizers.Windows.csproj index 3aca4f06d..7ab3c0f1d 100644 --- a/src/Visualizers/Windows/Visualizers.Windows.csproj +++ b/src/Visualizers/Windows/Visualizers.Windows.csproj @@ -5,7 +5,7 @@ Infer.NET is a framework for running Bayesian inference in graphical models. It can also be used for probabilistic programming. This package contains visualization tools for exploring and analyzing models on Windows platform. net461 Microsoft.ML.Probabilistic.Compiler.Visualizers.Windows - Microsoft.ML.Probabilistic.Visualizers.Windows + Microsoft.ML.Probabilistic.Visualizers.Windows$(NuGetPackageIdSuffix) TRACE;SUPPRESS_XMLDOC_WARNINGS, SUPPRESS_UNREACHABLE_CODE_WARNINGS, SUPPRESS_AMBIGUOUS_REFERENCE_WARNINGS 1591 Microsoft.ML.Probabilistic.Compiler.Visualizers