I have a Windows Forms project that targets the .NET Framework 4.6.1. I'd like to add machine learning capabilities to the project, so I added a new project that implements ML.NET. All of the projects in the solution are targeting x64.
The project works perfectly in the debugger, but I get the following error when I try running the published app:
System.DllNotFoundException
at Microsoft.ML.Internal.CpuMath.Thunk.DotU
I've tried using version 1.3.1 of ML.NET and I also installed Microsoft Visual C++ redistributable in the client machine but same result.
How can I resolve this or do I have no choice but to migrate my whole solution to .NET Core?