on 07-29-2013 2:20 AM
hello,
i'm trying to create a .net assembly using pb12.5.2 classic. the compile is fine, however, when i try to consume the dll in either pb12.5.NET or VS2010, any reference to the dataobjects does not work. my understanding is that the dataobjects are contained within the pbd files, which do exist, however it appears that the dll is not able to reference the pbd files.
creating the same .net assembly in pb11.2 does work for me...and i can see that when the dll is referenced in VS that the pbd files are also included.
any help would be appreciated
thanks
Hi Dylan;
FWIW: This works OK for me using PB 12.1. So I wonder if its a 12.5.2 issue?
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Chris,
we set up 2 virtual environments, one with pb12.1 and another with pb12.5.2, and both environments have the same issue as i'm experiencing on my local computer.
basically, my process is as follows:
then...
if you, or anyone has any idea's as to what i am missing..or steps i can try....i would appreciate it.
thanks
Hi Dylan;
1) PB 11.x would have created a .Net 2.0 based Assembly
2) PB 12.x will create a .Net 3.5 based Assembly
3) PB 12.5.x PB 12.x will create a .Net 4.0 based Assembly
Now, you need to make sure that your development PC has the correct .Net run-times installed plus the version of VS you are using is compatible with the .Net version of the assembly you are trying to consume.
Regards ... Chris
Hi Dylan,
You need to add the PBD files generated in your VS project and set the option "Always copy to output folder".
Also you have to check that your VS project targets the .NET 4 platform, not the ".NET 4 Client Profile".
And maybe you are missing some Sybase assemblies, have a look at theses thread :
I could use a PB classic assembly using a dataobject, in Pb12.5.1, but it was a very simple case.
HTH
Guillaume
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.