I have converted the add-ins from VS2003 to VS2005. Although the add-ins can
register, once i click on Tools->Options, a error message pop-up to say that
VS has encountered problem and need to close. It suppose to display the
options window with some custom forms.
I wonder if i miss any steps or anything that i can do differently. I had
followed the steps
here:http://msdn2.microsoft.com/en-us/library/4fzsydwe.aspx
Please advise.
"Ed Dore [MSFT]" - 11 Jan 2006 17:06 GMT
Hi Jacelyn,
Without actually debugging the problem, it would be hard to tell what
exactly is the cause of the problem. You might want to start by debugging
through the addin's OnConnection method, and see where/when that error is
occuring. That might lead to some insight as to what the problem is.
Given that it sounds like you are implementing a page for the Tools.Options
dialog, you may want to refer to the ToolsOptionsPage sample in the VS2005
automation samples, which were recently released.
http://www.msdn.microsoft.com/vstudio/downloads/code/automation/default.aspx
Sincerely,
Ed Dore [MSFT]
This post is "AS IS" with no warranties, and confers no rights.
Jacelyn - 18 Jan 2006 03:09 GMT
What I'm actually trying to do is to compile my add-in in VS2003 and do the
proper registration in both Microsoft\VisualStudio\7.1\AddIns and
Microsoft\VisualStudio\8.0\AddIns key so that the add-in can work in both
VS2003 & Vs2005. It works perfectly in VS2003 but for VS2005, the add-ins
register sucessfully but crash when it goes to Tools-> Options. I'm also
unsure of how to go about debugging it.
By the way, does the CommandBars change affect the Tools->Options in Visual
Studio? I'm a new with all these terms.
Hope anyone can give me some suggestions. Thanks. :)
> I have converted the add-ins from VS2003 to VS2005. Although the add-ins can
> register, once i click on Tools->Options, a error message pop-up to say that
[quoted text clipped - 6 lines]
>
> Please advise.