ClickOnce and the Global Assembly Cache...
Posted on 2006-03-21
I am starting to use ClickOnce, but I am running into a problem. I get an error on the prerequitites stating that Microsoft.SqlServer.ConnectionInfo is not in the Global Assembly Cache (GAC) and that it needs to be there before the application can be deployed. There seems to be no redistributable for the SMO assemblies. Regardless, how can I install assemblies to the GAC using ClickOnce. Rightnow, the SMO assemblies are listed by default as Prerequisite (Auto) in the Application Files section of the Publish tab in the Settings dialog. Should this be set to include? Though I assume that if it is set to include the assemblies will be added to the application's installation directory rather than to the GAC and that not the ideal here.