VB.net Excel add-in Strange errors

Hi
The following errors show in my Excel vb.net add-in. I had to reload my operating system and my VB.net 2007 project
had to go through a conversion process. When I double click on these errors they do not take me to a specific location

Error      3      Cannot embed interop types from assembly 'stdole' because it is missing either the 'ImportedFromTypeLib' attribute or the 'PrimaryInteropAssembly' attribute.      Automator
Error      4      Cannot embed interop types from assembly 'stdole' because it is missing the 'Guid' attribute.      Automator
Error      55      Unable to load referenced library 'C:\Windows\assembly\GAC\stdole\7.0.3300.0__b03f5f7f11d50a3a\stdole.dll': The system cannot find the file specified.      C:\Windows\assembly\GAC\stdole\7.0.3300.0__b03f5f7f11d50a3a\stdole.dll
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
 
Fernando SotoRetiredCommented:
Did you also load the Primary Interop Assembly for the version of Excel that you are using?

Also in your Visual Studio project look inside the Reference node in Solution Explorer to make sure it does not have any lines marked with a yellow triangle with an exclamation point showing, if it does try reloading those references back into your project.
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Hi. Thanks for the help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.