I have a solution with multiple projects. One of these is ProjectA, I copied ProjectA and renamed it ProjectB. Other than a few code changes in subs and functions, the two projects are identical. The problem is ProjectB acts like a
Component Object Model (COM). For example when I add a method to ProjectB it will not show in other projects in the solution until I do a 'Rebuild all'then the method shows. ProjectA F12 goes to code, ProjectB F12 goes to Object Browser.
To fix this Object Browser issue, I found a macro that should take me to the code defintion, it does in ProjectA, but in ProjectB I get an error: "error hresult e_fail has been returned from a call to a com component", which proves the problem is ProjectB
is seen as a COM. I've tried lots of stuff to fix this, search the web for over a day and tried everything out there, but can't seem to get it working properly. By the way I am using VS2005. Developing in VB.NET.
Thanks in advance for any help you can offer
Here is a list of things I tried:
Rebuild / clean Solution, Run Devenv.exe to reset VS to startup, Project 'Add Reference'
Based on your description, it seems that it is related to the macro, so what is the macro? How do you use this macro? And how does the exception throw? When you debug your application? Or when you execute the macro? And where do you execute the macro?
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.