Link to home
Start Free TrialLog in
Avatar of chuckalicious
chuckaliciousFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Can't install ClickOnce application on Windows without .Net 3.0, even though app doesn't require it

I have a simple app which was built in Visual Studio 2005 Express Edition. This uses ClickOnce and worked with no problems at all.

However, after I upgraded to VS 2008 Express Edition, some users cannot install the updated version of the app without getting the error:

"Unable to install or run the application. The application requires that assembly WindowsBase Version 3.0.0.0 be installed in the Global Assembly Cache (GAC) first"

Uninstalling the app doesn't help.

I have looked in the app settings in VS and there are no .Net 3.0 references or prerequisites.

I do not want to have to install .Net 3.0 on every users machine, especially if it's not required.

Does anyone know what is causing this or what I can do to get round it? Oh, and reinstalling VS 2005 Express isn't an option :)
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

So, your application is configured for .net 2.0 framework? What do you have in the Project Properties window?
Avatar of chuckalicious

ASKER

Sorry to sound stupid, but I'm quite new to the finer details of VB Express....

which window would that be? The page I think you mean has a number of tabs down the side, namely:

Application, Compile, Debug, References, Resources, Settings, Signing, My Extensions, Security, Publish

Under the references tab, it lists the following:

System
System.Data
System.Deployment
System.DirectoryServices
System.Drawing
System.Windows.FOrms
System.XML

All of which are version 2.0.0.0

Imported Namespaces are:
Microsoft.VisualBasic
System
System.Collections
System.Collections.Generic
System.Data
System.Diagnostics



ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ha! It wasn't in there, in VS Express Edition it's in Compile, then Advanced Compile Options....

Not knowing what to look for, I completely missed that one!

Nice. Thanks
Option was in a slightly different place, but user knew what they were looking for