-
On Windows 10 using Visual Studio 2019, I am able to develop and run the Hello World sample by installing only the Emgu.CV.runtime.windows package (v4.4.0.4099). I did not install the Emgu.CV package and yet did not encounter any problems when developing/running my application. I read the following explanation about the switch to the NetStandard 2.0 profile: http://www.emgu.com/wiki/index.php/Version_History#Emgu.CV-4.2.0. But I really don't understand what that means for me - I am developing with .NET Framework 4.7.2. Detailed explanations are welcome. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
Emgu.CV nuget package is a dependency for Emgu.CV.runtime.windows package, check the following page and expand the "Dependencies" tab: If you install Emgu.CV.runtime.windows nuget package (without explicitly installing Emgu.CV), the Emgu.CV nuget package will be automatically installed for you when nuget manager resolve the dependencies. .NetStandard 2.0 profile is compatible with .NetFramework 4.6.1 and above. See support matrix below: If you are using .Net Framework 4.7.2, it is compatible with .NetStandard 2.0 profile used by the Emgu.CV nuget package. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the clarification, you are right, I missed that dependency. I would appreciate it if you could confirm my understanding: The Emgu.CV.runtime.windows is dependent on Emgu.CV. In turn, Emgu.CV is dependent on the following: System.Drawing.Primitives Also, Emgu.CV.runtime.windows lists the two following dependencies, but they are no longer made available: Emgu.runtime.windows.msvc.rt.x64 Thanks again. |
Beta Was this translation helpful? Give feedback.
-
Unlisting a package hides it from search. This is an dependency package, it should not show up in nuget.org search results and should not be installed independently. Listing them in nuget.org 'pollutes' nuget search results. Think about searching for "Emgu" on nuget.org and serveral of those packages shows up, you spend way more time to search for the right package. We want only the important packages to show up in an "Emgu" search on nuget.org |
Beta Was this translation helpful? Give feedback.
-
I am unable to follow this conversation as I am not familiar with the NuGet system, but really want to understand/learn.
If a package is unlisted, is it still installed? For example, I don't see the two packages mentioned above installed on my system. Sorry if these questions are too basic. Update: Came across these two links from Microsoft Docs, maybe it'll help others who are clueless like me: |
Beta Was this translation helpful? Give feedback.
-
You need to make sure that you have upgraded from "packages.config" to "Package reference". Nuget dependency failed to resolve when using "packages.config" for nuget packages. Upgrading that to "Package reference" fixed that. Detail can be found in this issue here: #399 (comment) |
Beta Was this translation helpful? Give feedback.
-
@sabuncu Yes, unlisted package can still be installed as a dependency. If nuget complains about "Emgu.runtime.windows.msvc.rt.x64", make sure your project use "Package Reference" instead of "packages.config". |
Beta Was this translation helpful? Give feedback.
Emgu.CV nuget package is a dependency for Emgu.CV.runtime.windows package, check the following page and expand the "Dependencies" tab:
https://www.nuget.org/packages/Emgu.CV.runtime.windows/
If you install Emgu.CV.runtime.windows nuget package (without explicitly installing Emgu.CV), the Emgu.CV nuget package will be automatically installed for you when nuget manager resolve the dependencies.
.NetStandard 2.0 profile is compatible with .NetFramework 4.6.1 and above. See support matrix below:
https://docs.microsoft.com/en-us/dotnet/standard/net-standard
If you are using .Net Framework 4.7.2, it is compatible with .NetStandard 2.0 profile used by the Emgu.CV nuget package.