473,394 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Force ClickOnce PreRequisite file to deploy with application?

Using VS2005, I am deploying a WinForm application with ClickOnce. The
project contains a ReportViewer2005 control, so there is a prerequisite for
the ReportViewer2005.dll.

The ReportViewer.dll that is included with Visual Studio 2005 works fine on
my (developer) pc, both within Visual Studio 2005, and after deployed, from
my pc. However, this is not the case with the user's pcs. When they
download the ReportViewer2005.dll from Microsoft, they get a
ReportViewer2005 with built-in bugs.

There is a service pack for ReportViewer2005.dll, but I would rather bundle
the Visual Studio copy of ReportViewer2005 in with the ClickOnce deployment.
It is possible?
On Project properties | publish | Application Files., should I be changing
the Publish Status column to "Include", (Required), and then manually point
to the ClickOnce site where I have copied the Visual Studio
ReportViewer2005.dll? Would this bundle the Visual Studio
ReportViewer2005.dll in with my application?

Thanks in advance,
Dean S

Feb 21 '08 #1
3 4233
Dean Slindee wrote:
Using VS2005, I am deploying a WinForm application with ClickOnce. The project
contains a ReportViewer2005 control, so there is a
prerequisite for the ReportViewer2005.dll.

The ReportViewer.dll that is included with Visual Studio 2005 works
fine on my (developer) pc, both within Visual Studio 2005, and after
deployed, from my pc. However, this is not the case with the user's
pcs. When they download the ReportViewer2005.dll from Microsoft,
they get a ReportViewer2005 with built-in bugs.
Ooo, built in bugs, an extra bonus! :)
>
There is a service pack for ReportViewer2005.dll, but I would rather
bundle the Visual Studio copy of ReportViewer2005 in with the
ClickOnce deployment. It is possible?
On Project properties | publish | Application Files., should I be
changing the Publish Status column to "Include", (Required), and then
manually point to the ClickOnce site where I have copied the Visual
Studio ReportViewer2005.dll? Would this bundle the Visual Studio
ReportViewer2005.dll in with my application?
I would click Include (Required), and include the file right from your dev PC.
The ClickOnce publish copies all those files to the publication folder, so no
need to point it somewhere else. I publish my ClickOnce to a local folder, then
copy it in stages to the actual deployment location. After the first time, I
only copy the updated files up the ladder. My sequence is to publish local, copy
new and updated files to a transfer folder on the server, then remote desktop to
server, where I copy from the transfer folder to the actual folder. Works nice,
gives good control, and the final step is very quick so no interruptions or
synch issues.
Feb 21 '08 #2
RobinS wrote:
>
But it sounds like you are only copying the changed files:
>After the first time, I only copy the updated files up the ladder. My
sequence is to publish local, copy new and updated files to a
transfer folder on the server...

Is that true? Or are you copying the whole deployment folder over,
and then continuing?
1. Publish to a local folder, i.e. hit Publish Now button.
2. Copy needed files to deployment server.
3. Copy needed files to deployment folder.

Not really sure what you are asking...

Feb 24 '08 #3
RobinS wrote:
>>

Well, whatever makes you happy. :-) I was just curious. I guess in
the interest of easier-for-me, and
making-sure-I-didn't-miss-something, I could just copy the entire
folder, and let it overlay anything that was already there.

But you found something that works for you, so go with it!

RobinS.
Yup. There are some reasons for not publishing directly to the production
server, but they are not interesting ones.

I do sometimes copy the whole folder, only say no to each thing that is already
there and up to date, as a way of checking that I'm not missing something. I
don't have a good reason for not just copying the whole thing, other than habit
I guess.
Feb 25 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Asaf | last post by:
Hi, After publishing my test application using ClickOnce with VS.NET 2005 I am getting these warnings: Warning: Could not download 'ClickOnce.application' from… Warning: Could not download...
1
by: M O J O | last post by:
Hi, I've have searched google, but can't find a solution to my problem. Om my develloper machine, I use one app.config, but when I deploy, I need to deploy another app.config. The reason...
1
by: Rich | last post by:
Hello, I am trying to deploy a VB2005 app which contains a ReportViewer control. I have added the Reportviewer control to the prerequisite list by click on Prerequisites in the...
2
by: Alex Bögli | last post by:
Hi I have a rather advanced deployment scenario and wanted to know, if anyone has an idea how to accomplish that with ClickOnce: We are deploying a 3-tier application with a client connecting...
0
by: =?Utf-8?B?Q29saXZpZXI=?= | last post by:
If anyone can help me with this I would really appreciate it: I have an assembly into which I have linked a manifest file as a Win32 resource. This is necessary since I want to use a class in this...
0
by: Velupula | last post by:
Error message "Unable to install or run the application. The application requires stdole Version 7.0.3300.0 in the GAC" Resolution: I had the same problem with a click once deployment. I...
5
by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?= | last post by:
Hi, how can I add files (e.g. ini-files, xml-files, pdf,..), that should be installed with a ClickOnce deployed applications? Christian
6
by: =?Utf-8?B?QW5kcmV3X2QxMjM=?= | last post by:
Here is my problem. I have an app that has over 9 web services. For years I had not issues with clickonce but now it looks like the build is missing XmlSerializers.dll.deploy. I did have this...
3
by: =?Utf-8?B?S2VuIExlbWlldXg=?= | last post by:
My clickonce app fails when the install button on the publish.htm page is clicked. User is prompted with a "Cannot Start Application" dialog. Details provided from the dialog are: PLATFORM...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.