VSTO & Visual Studio Versions

Hi,

I've got something weird going on with Visual Studio. I have Office 2007 installed as well as both Visual Studio 2005 and Visual Studio 2008. I can develop VSTO solutions for Office 2003 using VS2005 without problem. I can also create a VSTO Word add-in for Word 2003 using VS2008 and .NET 3.5, build it and deploy it without problem. However as soon as I close my Word 2003 add-in solution, when I next try to open it using VS2008, I get the Visual Studio Conversion Wizard popping up saying the solution was created in a different version of Visual Studio (which it was not). If I run the wizard, it changes the add-in project to use VSTO 3 and changes the PIA references to use the 2007 PIAs.

Any ideas (other than developing it using VS2005 and .NET 2)?

Pete
LVL 6
xenacodeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Miguel OzSoftware EngineerCommented:
0
xenacodeAuthor Commented:
I've already installed SP1 and all the latest updates/hotfixes
0
Miguel OzSoftware EngineerCommented:
I think your problem is that your VS2008 have the option:
"Always upgrade to installed version of Office" checked

Please unchecked it. see picture (tool | options and  Office tools| Project upgrade
vs2008-options.jpg
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
xenacodeAuthor Commented:
Thanks - that makes sense. I'm away for a couple of days but I'll check the VS options when I get back and let you know.
0
xenacodeAuthor Commented:
Thank you very much. That was the problem.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.