Cannot open VSTO 2005 projects in VSTO 2005 SE
When I try to open my VSTO 2005 projects in SE, I get the following error:
Microsoft Office Outlook 2003 SP1 or newer is not installed on this computer. You must install a version of Microsoft Office Outlook 2003 that supports Microsoft Visual Studio 2005 Tools for the Microsoft Office System projects.
I have Office 2007 B2TR installed so have no clue what is going on.
Thoughts?
[407 byte] By [
BartElia] at [2007-12-25]
Hi Bart,
The reason is that VSTO 2005 SE does not support design time Office 2007 document level customizations. What we do support is the VSTO 2005 SE runtime can handle running Office 2003 document level customizations in Office 2007. So to open your VSTO Word Document or Excel Workbook project you will need Office 2003 on your machine, but you can deploy those projects on an Office 2007 machine.
Thanks, please let me know if you have any other questions or if I was unclear about anything.
--Bill Robertson
You are trying to open a VSTO 2005 project with Office 2007. You need to have Office 2003 on the machine.
VSTO2005SE only allows you to build app-level add-ins for Office 2007 - it does not allow you to open doc-level projects with Office 2007.
Hello Misha,
I had the same problem with an Outlook AddIn created with Outlook2003 and VSTO 2005.
When I want to open that Solution on my Vista + 2007 B2TR + VSTO2005SE -> I can't open that project.
This is not a Documentlevel project.
So - I never can upgrade my Solution out of the Box -> have to create a new solution and put in all the code from files from the old solution ?
So - my Solution is not upgradeable to a VSTO 2005 SE project with Office 2007 ?
There should be a much better Solution like: "Do you want to upgrade all references of your solution, etc... ?"
Hi Helmut,
The VSTO 2005 Outlook AddIn has the same limitations as the Document level projects; I know our above posts look confusing on this point.
Unfortunately, you are correct. VSTO 2005 SE does not have any Project migration for the VSTO Outlook 2005 AddIn to the VSTO SE Outlook 2007 AddIn. Part of the reason for this, is the VSTO Outlook Addins are different from the VSTO SE Outlook AddIns. The main difference is that the new AddIns give you direct access to the Office PIA while the ‘old’ Outlook addin has the class Microsoft.Office.Tools.Outlook for you to use.
Thanks!
Hi Bill,
thank you for that answer.
Would it help to replace the namespaces and references in the. csproj file before i open the solution ?
It will be another Namespace in VSTO SE, but the Objects and Methods are still the same - am I right ?
I will try this and give it some investigation.
Greets, Helmut
I understand the loss of design time. I do not care about that loss (until the next project that needs this <g>).
I do think some kind of upgrade process should be available and optional for developers.
Thanks!