When a type name is not the same that the same type name

June 1, 2009

Playing with Visual Studio 2010 Beta 1 and executing this statement: toolBar = commandBars.Add(Name:=”My toolbar”, Position:=Microsoft.VisualStudio.CommandBars.MsoBarPosition.msoBarTop, Temporary:=True) I have encountered this funny error: “Object must be the same type as the enum. The type passed in was ‘Microsoft.VisualStudio.CommandBars.MsoBarPosition'; the enum type was ‘Microsoft.VisualStudio.CommandBars.MsoBarPosition’.” What I guess that the error message is trying to say is […]


Visual Studio 2010 Beta 1 too slow on Virtual PC

June 1, 2009

I have spent the last days testing my MZ-Tools add-in with Visual Studio 2010 Beta 1 and there are a couple of things that I have noticed: the second one is that Beta 1 breaks a lot of things in the commandbars (I am reporting all the issues to Microsoft through Microsoft Connect and I […]