You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you build a library project in Visual Studio, include the emgucv package using nuget and compile everything, you will get the x86 and x64 sub directories inside your ouput directory as expected.
Unfortunately, if you create another project that references this library project and compile it, the x86 and x64 sub directories will not be copied to the output directory of the newly created project and thus causing it to fail when calling any library project function that uses emgucv.
To solve this problem, you have to change a single file which is distributed together with the nuget package.
It seems that the code was included in the newly added emgucv/platforms/nuget/Emgu.CV.targets file with commit 2f21a40 about 24 days ago.
The issue should be solved.
If you build a library project in Visual Studio, include the emgucv package using nuget and compile everything, you will get the x86 and x64 sub directories inside your ouput directory as expected.
Unfortunately, if you create another project that references this library project and compile it, the x86 and x64 sub directories will not be copied to the output directory of the newly created project and thus causing it to fail when calling any library project function that uses emgucv.
To solve this problem, you have to change a single file which is distributed together with the nuget package.
The
EmguCV.targets
file looks like this:If you replace it with the following code, it will work in both scenarios:
The text was updated successfully, but these errors were encountered: