문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top