Question

I'm trying to browse to my Slb.Ocean.Petrel.dll in my install path so that I can get the controls in it, mainly DropTarget, but I just get an error...

Could not load file or assembly 'InventorNet, Version=8.1.2.2, Culture=neutral, ....' or one of its dependencies. The system cannot find the file specified.

Any ideas?

Était-ce utile?

La solution

AFAIK, there's some collision between VS2010 (32bit) and Inventor's dlls (64bit). So, to be able to use functionality in VS2010, try to copy 4 (32bit) dll's to 'Public' folder:

  1. InventorBase.dll
  2. InventorNet.dll
  3. SbLinear.dll
  4. SbLinear.netmodule

If you use 64-bit Petrel, you will need to copy those dll's from any 32-bit location.

Hope this helps.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top