Skip to content

Commit

Permalink
Allow builds to specialise the package ID of generated Runtime, Visua…
Browse files Browse the repository at this point in the history
…lisers, 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.
  • Loading branch information
jonathantims authored Apr 23, 2020
1 parent 57621b8 commit 399236c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Compiler/Compiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<Description>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.</Description>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>$(AssemblyNamePrefix)Microsoft.ML.Probabilistic.Compiler</AssemblyName>
<PackageId>$(AssemblyName)$(NuGetPackageIdSuffix)</PackageId>
<DefineConstants>TRACE;SUPPRESS_XMLDOC_WARNINGS, SUPPRESS_UNREACHABLE_CODE_WARNINGS, SUPPRESS_AMBIGUOUS_REFERENCE_WARNINGS</DefineConstants>
<NoWarn>1591</NoWarn>
<RootNamespace>Microsoft.ML.Probabilistic</RootNamespace>
Expand Down
1 change: 1 addition & 0 deletions src/Runtime/Runtime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<Description>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.</Description>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>$(AssemblyNamePrefix)Microsoft.ML.Probabilistic</AssemblyName>
<PackageId>$(AssemblyName)$(NuGetPackageIdSuffix)</PackageId>
<DefineConstants>TRACE;SUPPRESS_XMLDOC_WARNINGS, SUPPRESS_UNREACHABLE_CODE_WARNINGS</DefineConstants>
<NoWarn>1591</NoWarn>
<RootNamespace>Microsoft.ML.Probabilistic</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/Visualizers/Windows/Visualizers.Windows.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Description>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.</Description>
<TargetFramework>net461</TargetFramework>
<AssemblyName>Microsoft.ML.Probabilistic.Compiler.Visualizers.Windows</AssemblyName>
<PackageId>Microsoft.ML.Probabilistic.Visualizers.Windows</PackageId>
<PackageId>Microsoft.ML.Probabilistic.Visualizers.Windows$(NuGetPackageIdSuffix)</PackageId>
<DefineConstants>TRACE;SUPPRESS_XMLDOC_WARNINGS, SUPPRESS_UNREACHABLE_CODE_WARNINGS, SUPPRESS_AMBIGUOUS_REFERENCE_WARNINGS</DefineConstants>
<NoWarn>1591</NoWarn>
<RootNamespace>Microsoft.ML.Probabilistic.Compiler.Visualizers</RootNamespace>
Expand Down

0 comments on commit 399236c

Please sign in to comment.