kewur / assimp-net

Automatically exported from code.google.com/p/assimp-net
0 stars 0 forks source link

Reference to dll's invalid in vs 2010 #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Importing Assimp32.dll or Assimp64.dll in vs2010 .net4 Client/Full 
2.Just importing assimpnet.dll crashes program in vb.net and wpf using 
winformshost 
3.

What is the expected output? What do you see instead?
Error refers to the fact that reference is unsuccessull because the file is not 
com visible or unaccessible.

"{"Could not load file or assembly 'AssimpNet, Version=2.1.2.1, 
Culture=neutral, PublicKeyToken=0d51b391f59f42a6' or one of its dependencies. 
An attempt was made to load a program with an incorrect format."}"

What version of the product are you using? On what operating system?
Win 7 62 bit VS 2010 Professional

Please provide any additional information below.

Original issue reported on code.google.com by jaskar...@gmail.com on 4 Sep 2012 at 12:18

GoogleCodeExporter commented 8 years ago
You should only be importing AssimpNet - Assimp32 and Assimp64 are the 
unmanaged native DLLs. They should always be in the same folder AssimpNet.dll 
resides in.

There are x86 and x64 versions of AssimpNet.dll, make sure your project 
references the correct one (e.g. x64 project loading the x86 AssimpNet.dll will 
cause this exception).

Original comment by nicholas.woodfield on 4 Sep 2012 at 5:15

GoogleCodeExporter commented 8 years ago
Closing this ticket, if you have other issues in getting setup, feel free to 
email me.

Original comment by nicholas.woodfield on 6 Sep 2012 at 12:12