Visual Basic Development Bookmark and Share   
 Home > Visual Basic Language > Compiler Error BC31091
 

Compiler Error BC31091

Hi:

I am converting a 39 project solution (sln2) from VS2003 to VS2005 beta 2.  A previous attempt of smaller 19 project solution (sln1)  works.  sln2 references some dlls from sln1 and I can't figure this compiler error out:

BankingCenterManager.vb(2999) : error BC31091: Import of type 'xxx.Common.ITaskCommand' from assembly or module 'Common' failed.

I can't find any explanation on this error message.  Any help would be greatly appreciated.

Mark.

MarkW  Thursday, August 18, 2005 11:52 PM

http://mtpgcluster05/library/901w04s2(en-US,VS.80).aspx

Import of type typename  from assembly or module  failed
Make sure that all referenced libraries are compatible with each other.

Error ID: BC31091

To correct this error

  • Verify that the files containing the referenced type are not corrupt.

 

spotty  Friday, August 19, 2005 1:30 AM
I can ILDASM the dll and it looks OK... anything else should I be checking for?

Thanks
Mark
MarkW  Friday, August 19, 2005 11:35 PM
(In case you haven't solved this yet)

You could try running peverify and see what it has to say about the file. Also, try doing a full rebuild of all the projects.

If peverify thinkgs that the file is OK, I would recommend logging a bug on:

http://lab.msdn.microsoft.com/productfeedback/

to let the VB compiler team take a look at this.

Best regards,
Johan Stenberg
MSFT Johan Stenberg  Saturday, December 10, 2005 1:13 AM

You can use google to search for other answers

Custom Search

More Threads

• Focus on a certain part of a webpage!?! How to?
• StreamReader.Peek() blocks if there's no content in the stream.
• Can i call a UNIX script from a VB.Net application?
• Class properties: an invitation to weaker OOP programming?
• Reading lines into a varible from a text file.
• close method of Form
• Making my program customise and generate an exe
• Weird error message
• Application task schedule
• easier way to save data than a database before app shut down