I've written a .NET Windows Form project where I simply want to evaluate a formula with the .NET Datastore and return the value. Using SnapDevelop I was able to write a successful console application that utilizes the function similarly but when trying to replicated it in Visual Studio I receive the following error.
System.Reflection.TargetInvocationException
HResult=0x80131604
Message=Exception has been thrown by the target of an invocation.
Source=mscorlib
StackTrace:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
.
.
.
Inner Exception 1:
FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
Both classes are in the ComputeFormula namespace, so I'm unsure why it cannot load it.
Any suggestions?
- Mike