Winform Reports for .NET
   Home
   Product Comparison
   Products
     PrintForm .NET
     PrintControls .NET
     PrintAdapters .NET
     PrintPreviewDialog .NET
     Localizer ASP.NET
     WebExtenders ASP.NET
   Downloads
     Free Trial Versions
     Upgrades
   Documents & Papers
   Purchase
   Support Index
   Press Releases
   Contact Us
   Privacy Statement
 
 
 
Go to TMG Development Ltd Website
Microsoft Certified Partner

HowTo: Distribute PrintForm, PrintControls and PrintAdapter Assemblies with a ClickOnce Application in VS 2008

ID: W3298015

 

Background

Our products are typically installed in the GAC on a development machine, so if you publish a project using one of them using ClickOnce in Visual Studio 2008 you may receive the following error, or similar, when you try and install on a client machine:

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

Resolution

In your project set the TMGDevelopment assembly references to Copy Local = true.

To do this:

  1. Right click on the project name in the Solution Explorer window in VS 2008.
  2. On the References tab, select each of the assemblies prefixed TMGDevelopment, and then set the Copy Local property to true in the Properties window.
  3. Save the solution, and re-publish the project from the Publish ... menu item on the Build menu.

 

Last updated 02-Jun-2008