Page 1 of 1

Issues when adding reference to V7 assemblies via VB.NET

PostPosted: Thu Mar 05, 2015 1:21 pm
by dimuthu
Hi Mike,

I added reference to some of the Jiwa V7 ( my version 7.0.105 ) assemblies from "C:\Program Files (x86)\Jiwa Financials\Jiwa 7" to my VB.NET ( visual studio 2008 ) project. Set the "Copy Local" as True. But it shows that system cannot find specified path.Please see attached. Have I done something wrong ?

Regards
Dimuthu

Re: Issues when adding reference to V7 assemblies via VB.NET

PostPosted: Thu Mar 05, 2015 1:27 pm
by Mike.Sheen
Hi Dimuthu,

Check your project to make sure it is using x86 as the Target CPU and the Target Framework is .NET 4.51

Mike

Re: Issues when adding reference to V7 assemblies via VB.NET

PostPosted: Thu Mar 05, 2015 2:20 pm
by dimuthu
Thanks Mike. I need to install framework 4.5.1

Regards
Dimuthu

Re: Issues when adding reference to V7 assemblies via VB.NET

PostPosted: Thu Mar 05, 2015 2:39 pm
by Scott.Pearce
Hang on, shouldn't the .NET Framework 4.5.1 be installed by Jiwa 7 for you? ergo, you already have the .NET Framework 4.5.1 installed.

Re: Issues when adding reference to V7 assemblies via VB.NET

PostPosted: Thu Mar 05, 2015 2:58 pm
by dimuthu
Hi Scott,

But it doesn't show in the target framework.

Regards
Dimuthu

Re: Issues when adding reference to V7 assemblies via VB.NET  Topic is solved

PostPosted: Thu Mar 05, 2015 3:00 pm
by Scott.Pearce
VS 2008 does not support .NET 4.5.1. You should upgrade to VS 2013.

Re: Issues when adding reference to V7 assemblies via VB.NET

PostPosted: Thu Mar 12, 2015 12:06 pm
by dimuthu
Hi Scott,

I installed VS 2013. Referenced Sales Order assembly and other . Did the coding. But at the compile time it throws me the attached error. I have set the Target CPU as x86.
Gave full control to the Jiwa7 folder and tried again but it throws the same compile error. Could you please tell me what cause this compile error.

Regards
Dimuthu

Re: Issues when adding reference to V7 assemblies via VB.NET

PostPosted: Thu Mar 12, 2015 1:28 pm
by dimuthu
Hi Scott,

Please ignore this. I fixed the issue.

Regards
Dimuthu