By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,530 Members | 891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,530 IT Pros & Developers. It's quick & easy.

problems deploying project using ClickOnce and visual studio 2005

P: n/a
Hello

Im triying to create an installer using ClickOnce and visual studio 2005.
This works fine on my computer, but as soon as i start the created installer
on another pc I get the following message: "Unable to install or run the
application. The application requires that assembly EnvDTE Version 7.0.330.0
be installed in the Global Assembly Cache (GAC) first."

When I now reference the assembly Envdte (Version 7.0.330.0) and include it
in the Publishing menu of VS 2005 (Application File) i get another message:
"Unable to install or run the application. The application requires that
assembly EnvDTE Version 8.0.0.0 be installed in the Global Assembly Cache
(GAC) first."

Until now, I have not managed to reference different versions of the same
assembly and include it in the ClickOnce installer. Is this somehow
possible? This would be one way to solve my problem.

Furthermore I wonder why this assembly (envdte.dll) and some others needs
to be included? I never need it in my project, I dont even know exactly what
it is doing. I believe it is used by VS 2005 but im not sure. How can I get
rid of the need for that assembly. Maybe some assemblies that are referenced
in my project reference those assemblies ( some of my references are:
DevExpress assemblies (user controlls), Microsoft.Web.Services3 und andere
wie System.Windows.Forms,
System.Web.Services etc.)
Does anybody know how to solve my problem. Im starting to get desperate. I
would really appreciate it.

Thanks Daniel Knöpfel

Mar 15 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi ..The problem was a reference that needed the envDTE assembly. After
having removed that reference it works fine..

Cheers Daniel


"Daniel Knöpfel" <dd****@iphch.ch> wrote in message
news:ui**************@TK2MSFTNGP11.phx.gbl...
Hello

Im triying to create an installer using ClickOnce and visual studio 2005.
This works fine on my computer, but as soon as i start the created
installer on another pc I get the following message: "Unable to install
or run the application. The application requires that assembly EnvDTE
Version 7.0.330.0 be installed in the Global Assembly Cache (GAC) first."

When I now reference the assembly Envdte (Version 7.0.330.0) and include
it in the Publishing menu of VS 2005 (Application File) i get another
message: "Unable to install or run the application. The application
requires that
assembly EnvDTE Version 8.0.0.0 be installed in the Global Assembly Cache
(GAC) first."

Until now, I have not managed to reference different versions of the same
assembly and include it in the ClickOnce installer. Is this somehow
possible? This would be one way to solve my problem.

Furthermore I wonder why this assembly (envdte.dll) and some others needs
to be included? I never need it in my project, I dont even know exactly
what it is doing. I believe it is used by VS 2005 but im not sure. How can
I get rid of the need for that assembly. Maybe some assemblies that are
referenced in my project reference those assemblies ( some of my
references are: DevExpress assemblies (user controlls),
Microsoft.Web.Services3 und andere wie System.Windows.Forms,
System.Web.Services etc.)
Does anybody know how to solve my problem. Im starting to get desperate.
I would really appreciate it.

Thanks Daniel Knöpfel

Mar 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.