C
CSharpner
It appears there's a bug in Visual Studio 2005 when trying to deploy a
click-once application (this is a completely different issue than my
last post, in case anyone's keeping track).
When I set my publishing settings, the first time, it works just
fine. When I want to publish to a different server, the part of the
publish wizard that asks "How will users install the application?",
the "From a Web site" setting is ignored and the original value I
entered from the FIRST deployment is used. Now, once in a blue moon,
it'll change, but it's unpredictable and rare.
The only way I've found to "fix" it is to use a file searching utility
(I use TextPad's "Search in files" feature) to search all files in the
entire solution folder tree for occurances of the old URL. It appears
that there's 3 items storing the URL in the .csprog file, one of which
is the culprit (can't recall right now which), but they are:
<PublicUrl>
<InstallUrl>
<UpdateUrl>
I think it's the InstallUrl that holds onto the old setting. I have
to manually edit the project file with a text editor to get the darn
thing to publish and behave properly.
Am I doing something wrong or is this a bug? Is there a better way to
do this?
TIA.
click-once application (this is a completely different issue than my
last post, in case anyone's keeping track).
When I set my publishing settings, the first time, it works just
fine. When I want to publish to a different server, the part of the
publish wizard that asks "How will users install the application?",
the "From a Web site" setting is ignored and the original value I
entered from the FIRST deployment is used. Now, once in a blue moon,
it'll change, but it's unpredictable and rare.
The only way I've found to "fix" it is to use a file searching utility
(I use TextPad's "Search in files" feature) to search all files in the
entire solution folder tree for occurances of the old URL. It appears
that there's 3 items storing the URL in the .csprog file, one of which
is the culprit (can't recall right now which), but they are:
<PublicUrl>
<InstallUrl>
<UpdateUrl>
I think it's the InstallUrl that holds onto the old setting. I have
to manually edit the project file with a text editor to get the darn
thing to publish and behave properly.
Am I doing something wrong or is this a bug? Is there a better way to
do this?
TIA.