how do i install DMN.Engine in my .NET project?
mayshen opened this issue · comments
i tried to install DMN.Engine in my .NET project(.NETFramework,Version=v4.5.2).
i type the
PM> Install-Package net.adamec.lib.common.dmn.engine -Version 0.1.2
and than responded
Install-Package : Package 'net.adamec.lib.common.dmn.engine,0.1.2' is not found in the following primary source(s): 'https://api.nuget.org/v3/index.json,C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'. P
lease verify all your online package sources are available (OR) package id, version are specified correctly.
At line:1 char:16
+ Install-Package <<<< net.adamec.lib.common.dmn.engine -Version 0.1.2
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
why the online package sources are missing?
did i missing something?
thank you so much! I'm going to try to upgrade .NET Framework later.
sorry about that i missing the info in Nuget Page .
and may i get another question?
I can't find this package in the NuGet search.
did i type the wrong word?
The minimum .NET Standard version (and in general all other dependencies) is in Dependencies section of each package at it's NuGet page. The section is collapsed by default i think, so you need to expand it to see.
I have tried the NuGet PM UI in Visual Studio 2019 and 2017 and getting the match for both net.adamec.lib.common.dmn.engine and dmn.engine there. Even when searching just for "dmn", the package appears on the list. So can't reproduce the issue at all. Do you have "nuget.org" as the Package source?
oh,maybe is version's problem.
my VS is 2015 and NuGet is V3.4.4.1321.
i will update them and retry.
thanks for your kindly reply.
closing the ticket, I guess it works with proper version config