P
PolarAaron1991
Guest
I am running a task within a piece of engineering software. This task references a DLL file generated through Visual Studio.
However whenever I run the task, I get the error
Exception Has Been Thrown By The Target Of An Invocation
What's important is that the task works on later versions of the engineering software, but on older versions, I get the error.
I believe this may be related to the NET Framework and/or references within the DLL file.
On the new version of the engineering software, I have the Target Framework set to .NET Framework 4 Client Profile and it works. However on the old version of the software, this stops the task from actually reading the DLL file. When I change it to .NET Framework 3.5 Client Profile it appears to load, but throws the invocation error above.
There's more info I can give, however based on what I've wrote here - can anyone assist?
Note that my knowledge of C# and visual studio are minimal (I'm just trying to troubleshoot).
Continue reading...
However whenever I run the task, I get the error
Exception Has Been Thrown By The Target Of An Invocation
What's important is that the task works on later versions of the engineering software, but on older versions, I get the error.
I believe this may be related to the NET Framework and/or references within the DLL file.
On the new version of the engineering software, I have the Target Framework set to .NET Framework 4 Client Profile and it works. However on the old version of the software, this stops the task from actually reading the DLL file. When I change it to .NET Framework 3.5 Client Profile it appears to load, but throws the invocation error above.
There's more info I can give, however based on what I've wrote here - can anyone assist?
Note that my knowledge of C# and visual studio are minimal (I'm just trying to troubleshoot).
Continue reading...