.net – Application with no references to Office requiring Office 12 (2007) in GAC for ClickOnce

.net-3.5ms-officevisual-studio-2008

I have a situation where I'm trying to deploy an application update via ClickOnce to many users, but on some it's failing with an error saying that they need Office 12.0.0.0 in their GAC.

This happened after I installed Office 2007, so I uninstalled 2007 and reinstalled Office 2003, then re-built/re-published the app. Fixed it for some, but not all.

There are no references to Office in the application, so I'm unsure why it's checking for a dependency.

I checked my GAC, and it still lists office 12 and won't let me remove it – says it's required by Windows Installer

Best Answer

Check here: Project properties - Publish - Prerequisites.

and here: Setup package properties - prerequisites.

Related Topic