Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Click-Once deployment problem (mshtml problem?)

40 views
Skip to first unread message

B. Chernick

unread,
May 16, 2008, 2:21:23 PM5/16/08
to
I think I'm getting lost here. I've written a VB/Dot Net 2.0 Winforms app
that making calls to Microsoft project through the interop. I'm trying to
distribute this through ClickOnce.

One of the files listed in the Application Files popup is
Microsoft.mshtml.dll (Prequsite(Auto) (None)). The person trying to install
this program is getting an error of: "Unable to install or run the
application. The application requires that assembly Microsoft.mshtml version
7.0.3300.0 be installed in the Global Assembly Cache (GAC) first.

First of all what is this and why do I need it?

Second, do I understand correctly, this particular assembly cannot be simply
distributed through ClickOnce itself?

RobinS

unread,
May 29, 2008, 5:32:49 PM5/29/08
to
Any idea what that dll is? Is it part of the interop stuff? Sometimes dll's
must be installed in the GAC, they can't be installed locally, and in this
case, it's marked as a prerequisite. You probably need to include the VSTO
interop redistributable as a prerequisite to your application.

You can also try changing that to "Include" instead of prerequisite and see
if it works. Make sure the reference in your reference has "copy local" set
to true.

RobinS.
GoldMail.com

"B. Chernick" <BChe...@discussions.microsoft.com> wrote in message
news:956C3A9F-4037-44D4...@microsoft.com...

B. Chernick

unread,
Jun 3, 2008, 10:50:05 AM6/3/08
to
Apparently mshtml is the layout engine for Internet Explorer (and this is a
Winforms app.)

It's inclusion in the list could be a mistake (or a bug). In any case I was
able to set Microsoft.mshtml.dll to Exclude status in the Application Files
popup, and publishing appears to work normally. So far 2 users have been
able to install successfully.

0 new messages