473,383 Members | 1,896 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,383 software developers and data experts.

Multiple ClickOnce manifests (slightly OT)

OK heres an oddity...

I am using a ClickOnce (online only) deployment model; I have various
servers (primarily for different environments: testing, production etc), and
I want to have a *similar* manifest on each, with the main difference being
the config file (so that each connects to appropriate servers). To get
around the hashing on the config file, I simply publish the app (via
MSBuild) several times with different app.config contents each time.

The problem:
* (assume empty app-cache)
* Hit .application on download-server "A" - this downloads the app and
starts talking to web-service server "a" (correctly based on web.config)
* Close app
* Hit .application on download-server "B" - this then *also* starts talking
to web-service server "a", even though the config file on "B" says "b"

Obviously the runtime is deciding that they are the same app, and re-using
the cached copy.

So - can I fix it?

Is there any way (preferably automated either via some bespoke C# or just
MSBuild command-line parameters) of telling it that the two should be
treated separately? Preferably while using the same code-signing
certificate?

Thanks in advance,

Marc
Feb 28 '06 #1
0 1058

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

Similar topics

1
by: Mr. Beck | last post by:
I am in the process of creating a C# ClickOnce application that will be deployed in the coming months. I was initially thinking of deploying it through Windows Installation but due to the need of...
0
by: Neil P | last post by:
Hi all, I'm currently working on an application with a plug-in architecture, and want to be able to deploy the application and plug-ins seperately and have them update a ClickOnce manifest on a...
0
by: Raffi Basmajian | last post by:
I am trying to understand the difference between signing ClickOnce manifests and signing shared assemblies. My company is building .Net 2005 WinForm applications for internal company use only....
21
by: Al Christoph | last post by:
I posted this last week end in the MSDN forums. No luck there. Let's see what the experts here have to say:-)))) I have a rather convoluted project. The distributable will come in eight...
0
by: chris.thistlethwaite | last post by:
Greetings, I have a question about ClickOnce and daily builds. Currently all our software is housed in TFS, and we have a daily build that dumps everything into a nice, neat directory. Now here...
0
by: Etienne | last post by:
Hi, I am settings up my application to work with ClickOnce deployment. However, after instlling installing an update, the database doesn't get copied. I tried everything I could think of. It is...
4
by: Frank Rizzo | last post by:
I have a SmartClient/ClickOnce app that needs to be deployed to a whole bunch of sites. The app.config would have to be different for each site. I am trying to do this in an automated manner (by...
0
by: =?Utf-8?B?RXJhbg==?= | last post by:
hi, My app is devided to a few DLLs, some of them reference a COM interface (the same interface). If I set the COM's Isolated to False, then ClickOnce doesn't register it at all at the...
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.