.NET Deployment

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

.NET Deployment

Postby EricH » Thu Aug 26, 2010 9:11 pm

We're trying to deploy VPE through a click-once deployment, but seem to be missing some critical step or piece of information.

The error message we currently recieve is "Unable to install or run the application. The application requires that assembly IDEALSoftware.VpeEnhanced Version 6.0.0.0 be installed in the Global Assembly Cache (GAC) first."

However, Click Once does not allow GAC deploy, and our intent is to deploy on the app-path.

Info about our install environment:

1) We have an installed and licensed version of VPE on the build machine.

2) The main project has included the .licx as an embedded resource.

3) The main project and the satellite (service) DLL have references to IDEALSoftware.VpeEnhanced.dll

4) The main project includes "vpex3260.dll" as an included file, set to "copy always".

5) The click once deploy recognizes vpex3260.dll as "Include (auto)" and IDEALSoftware.VpeEnhanced.dll as "Prerequisite (auto)".

Have we overlooked something obvious in the setup, to make me deploy successful?
EricH
 
Posts: 4
Joined: Tue Aug 10, 2010 4:44 pm

Postby IDEAL Software Support » Fri Aug 27, 2010 10:18 am

We are not .NET experts, but after googling for one minute, we found the following info:

ClickOnce deployment for publishing applications with components is possible. You just need to change the "Publish Status" option of the component assemblies from "Prerequisite (Auto)" to "Include".

Please let us know, if this solves the problem.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Postby EricH » Mon Aug 30, 2010 2:53 pm

I can confirm (with some embarassment) that this was the problem. While we'd previously had the "Copy Local" setting on IdealSoftware.VpeEnhanced.dll set to True, it was apparently (accidentially) changed on a recent commit. Click-once uses that property to determine whether to set the DLL to "Included" vs "Prerequisite".

Apologies for troubling you with what turned out to be an obvious problem that we were simply overlooking.
EricH
 
Posts: 4
Joined: Tue Aug 10, 2010 4:44 pm

Postby IDEAL Software Support » Mon Aug 30, 2010 3:05 pm

No problem. I am glad we could be of assistance.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 4 guests

cron