Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

c# 2005 publish deployment issue?

Status
Not open for further replies.

CodingIsFun

Programmer
Joined
Apr 9, 2004
Messages
134
Location
US
Hi experts,

Has anyone figured out how change the publishing directory for the client that uploads an executable, from publish.htm

My issue is I don't like that the publisher deploys the application to documents and settings folder.

I would like to change this anyone know how.

thanks in advance..

 
CodingIsFun - it sure is fun.

I have read your post about 3500 times now and I'm still confused. Is your project folder in C:\Documents and Settings\My Documents\Visual Studio Projects\YourProject\ ?

You can simply move the entire solution out of that folder and onto your Hard Drive "C:\Development\YourProject"

Or you could run a NANT script (google Ant for C#)

Is that the problem?
 
JurkMonkey,

Im sorry I wasnt as specific as I could have been. I wrote that without having my coffee first.

I have created a win forms application and I used the publish functionality found in the project properties page. This creates a web folder in IIS and allows users/clients to upload the .exe and other required files for the application to run from the web. It automatically creates a shortcut in the start menu, and has the awesome feature of auto-updates.

But, it also creates the application in the clients document and settings folder. I wish to change this and put it in someplace more reasonable like the program files.

Let me know if that is more helpful.

thanks in advance

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top