>>
>>I am not sure why did it try to load the c:\dev version of the dll as I put this in the call:
>>
>>if loBridge.LoadAssembly("C:\_Siriusware\Main\Siriusware.Library\Siriusware.Library\bin\Debug\Siriusware.Library.dll")
>>
>>e.g. I specified the exact path to the dll (although I also had the dll in the application directory from where I was testing it).
>>
>>I am going to re-start VFP to be sure.
>>
>>UPDATE. Could not make it to work. VS does not stop on the breakpoints.
>
>A few things you can try - don't attach VS to VFP until after you've loaded the assembly. Also do a full rebuild on the debug version to make sure the debug symbols are in sync - from the messages it's not loading the PDB and without those your breakpoints won't be hit.
I noticed another problem. If I run code that created the bridge and loaded the assembly, then I am unable to re-build it until I close VFP. Is there another way to release it?
Thanks.
If it's not broken, fix it until it is.
My Blog