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
**Dotnet core
I created one Dotnet core application using VS 2017 and then published it and then copied the published folder having runtimes folder and my application dll to Windows server 2016 where I had installed the dotnet core framework.
Even time I run the application from command line I get the below error. (I found this dll is under the runtimes folder but somehow application is not able to load)
Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: Unable to load DLL 'CpuMathNative' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
The text was updated successfully, but these errors were encountered:
dev8546
changed the title
ML Console application throwing native dll not foind
ML Console application throwing native dll not found error
Jul 30, 2018
I tried other solutions posted here regarding this problem but for my case my server was missing VCRUNTIME140.dll which is a dependency for CpuMathNative
Yup I have just figured out and installed Microsoft Visual C++ Redistributable for Visual Studio 2017 and just came here and saw your comment @tomwar .
System information
I created one Dotnet core application using VS 2017 and then published it and then copied the published folder having runtimes folder and my application dll to Windows server 2016 where I had installed the dotnet core framework.
Even time I run the application from command line I get the below error. (I found this dll is under the runtimes folder but somehow application is not able to load)
Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: Unable to load DLL 'CpuMathNative' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
The text was updated successfully, but these errors were encountered: