Problem with VSTO-OutlookSamples.msi

A

Alex Maghen

Hi. I downloaded your VS 2005 .NET Outlook Add-In Samples file
("VSTO-OutlookSamples.msi"). One of the samples, "HtmlView" gives me an error
when I try to open it in VS 2005. It pops up a dialog saying
"HtmlView.csproj... Project type is not supported by this installation." I
don't really understand what that means. Did I not install a piece of VS that
I was supposed to? It's a pretty thread-bare error message so I really don't
know what it means.

Alex
 
A

Alex Maghen

Sure. I've been using C#. Now I'm NOT sure that I installed the .NET stuff
for Office but I don't really know what that is anyway! It's VS 2005
Professional. When I go to create a new project, under C#, I see lots of new
project types but nothing specifically about Office. But I wouldn't have
expected to see that anyway. Should I?

I went under About in VS and here's the text I copied...
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual C# 2005 77626-009-0000007-41559
Microsoft Visual C# 2005

Microsoft Visual Web Developer 2005 77626-009-0000007-41559
Microsoft Visual Web Developer 2005

Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005


Alex
 
P

Peter Huang [MSFT]

Hi Alex,

Thanks for your information, from the About, it did not tell us if the
Office Project Type is installed.
From you description, I understand that you are going to run the
VSTO-OutlookSamples.msi, but you will get the dialog below.
"HtmlView.csproj... Project type is not supported by this installation."
Also from your description, when you try to create a new C# project, you
did not see anything about Office.
If I misunderstood, please feel free to let me know.

Commonly if we have installed the Office component correctly, there will be
a Office SubCategory under the C# project type when we are trying to create
a new project.

There will be Excel,Word and Outlook project types in the Office Sub
Category.

But to develop Office Project, we need to install Office 2003 Professional.
So I think you may try to install the Office 2003 Professional and then
re-run the installation program the VS.NET 2005 to install all the
components.

You may have a try and let me know the result.

If you still have any concern, please feel free to let me know.
I look forward to hearing from you.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

Alex Maghen

Peter -

I need more help with this. I'm confused. I went in to the MS Office 2003
Professional installation and I made sure that the entry for Outlook .Net
Programming Support (or something like that) was installed. So now are you
saying I have to DE-INSTALL and re-install VS 2005?!?! That's a pretty big
pain in the butt, no? Is there no other way to do this?

And if I do have to re-install VS, I want to be absolutely sure that I've
pre-installed the right MS Office components before I go and do it. Is there
a document anywhere that gives the EXACT names of the items in the MS Office
2003 Pro Custom Setup that have to be installed BEFORE installing VS so that
these sample projects will open?

Thanks.

Alex
 
P

Peter Huang [MSFT]

Hi Alex,

First I think you may try to take a look at the picture attachment to
confirm that the Office Projects is not installed on your machine.
The attachment is a figure which show what the Office Project looks like.

Here I assume you have not installed the VSTO projects.

From VS.NET 2005, we have a special projects for Office which is called
Microsoft Visual Studio Tools for the Microsoft Office System.
You may take a look at the MSDN link.
http://msdn.microsoft.com/office/understanding/vsto/default.aspx

If we are installed VS.NET 2005 Professional, the VSTO 2005 should be
included in the Professional Edition.
Here are some links about the prerequisite, there is no detailed article
about which dll is required to develop VSTO 2005 projects.
How to: Install Visual Studio Tools for Office
http://msdn2.microsoft.com/en-us/library(d=robot)/54ds2za4.aspx

We need to install Office 2003 professional, PIA and etc(see the link
above) before we install the VS.NET 2005 Professional.

Otherwise after completing installation of VS2005, the installation log
will tell us the VSTO is not installed. Commonly if we installed Office
Professional 2003 first by default and then install VS2005 by default the
Office Project Types will be installed by default. If you are sure you have
met the prerequisite in the link above, but after you install the VS2005,
the Office Projects still did not appear as the attachment did, then it
seems to be environment specific problem.

If you are sure now the Office Professional 2003 has installed the
necessary components as the link above, please try to reinstall the VS.NET
2005 to refresh the installation.(To save the efforts, you may try to
repair install the VS.NET 2005, if that did not work, we have to full
remove/reinstall the VS.NET 2005)

Based on my experience, a problem as complex as this may take extensive
time to narrow down. If the issue is urgent, you may want to work with
Microsoft Customer Service and Support (CSS) for a faster resolution. Once
you open a Support incident with Microsoft CSS, a dedicated Support
Professional can work with you in a more efficient manner.

http://support.microsoft.com

Microsoft Visual Studio Tools for the Microsoft Office System, Version 2003
http://blogs.msdn.com/vsto/archive/2004/01/08/48760.aspx

Thanks for your undertanding!

BTW: if you can not access the attachment, please let me know your valid
email address and I can send it to you if you want.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

Peter Huang [MSFT]

Hi Alex,

Yes, Mike is correct, the VSTO is not included in the VS2005 Professional
Edition.
I appologize for that, it seems that I have installed a special internal
Professional Edition.
Thanks for Mike's knowledge sharing.

I am sorry for any inconvenience to you.

If you have any other questions or concerns, please do not hesitate to
contact us. It is always our pleasure to be of assistance.

Have a nice day!

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top