Locked Question regarding clickonce and FTP publish

  • יום חמישי 03 אפריל 2008 03:48
     
     
    Suppose I have an ftp site: ftp.com username: User password: Pass.
    Is it possible (from the command line) to do a msbuild /t: publish ... and have a publish completed on an FTP without being prompted for a username/password.  In otherwords something like

    msbuild /t: publish /p: PublishDir = "ftp: //User: Pass@ftp.com/PublishDest/"

    (or something along those lines)  I've tried it and it seemed to want to publish to a dir like this:
      ftp.com/PublishDest\Application1.0.0.0 (note the switched slash, hence causing a build error).  It seems like it is possible since it is finding the path okay, but what am I doing wrong? 

    Thank you,
    T. Andreasen

כל התגובות

  • יום רביעי 09 אפריל 2008 05:51
     
     תשובה

    Hi TAndreasen,

     

    Here some references may be beneficial to you. 

    MSBuild Command Line Reference

    http://msdn2.microsoft.com/en-us/library/ms164311.aspx

     

    How to Enter FTP Site Password in Internet Explorer

    http://support.microsoft.com/kb/135975

     

    ClickOnce deployment restriction

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2734260&SiteID=1

  • ClickOnce applications are installed for just one user. If several persons log onto the same computer with different logins, you have to install for each of them. You can't install an application for all users on a workstation.
  • You can't change the way the shortcut is installed using ClickOnce. (You can always do this using other methods, such as creating a shortcut in the correct folder manually, but you can't get ClickOnce to do it for you.)
  • You can't use ClickOnce to install shared components in the GAC (Global Assembly Cache). In fact, you can't do anything out of the ordinary like creating a database, registering file types, or configuring registry settings.

     

    Regards,

    Martin

  • סומן כתשובה על-ידי TAndreasen יום שישי 20 יוני 2008 15:53
  •  
  • יום חמישי 17 אפריל 2008 17:21
     
     

    Hi! - T.Andreasen

     

    My advice would be:

     

    Please! Listen to Martin his information would solve your problem.

     

    I hope Martins info could solve your problem.

     

    Have a nice day, Martin and T.Andreasen

     

    I wish you the best of luck......

  • יום חמישי 17 אפריל 2008 17:23
     
     תשובה

     

    Thank you for your help.  I figured a work-around to achieve this.  Thanks for the information. 

     

    T. Andreasen

  • יום שישי 18 אפריל 2008 17:42
     
     
     TAndreasen wrote:

     

    Thank you for your help.  I figured a work-around to achieve this.  Thanks for the information. 

     

    T. Andreasen

     

    Hi! - T.Andreasen

     

    I think you misunderstood me, what I said is that the information that Martin hade gived you is

    right. I think you have done something wrong, you must give Martin his recognition points.

     

    Please! Give Martin his points.     

     

    Have a nice day....

     

     

  • יום שני 21 אפריל 2008 02:53
     
     

    Hi Fisnik,

     

    Thank you for your passional support!

    I just provided some references which may be helpful. That's me who marked TAndreasen's post as answer.

     

    Hi TAndreasen,

     

    I'm glad to hear that you got a workaround. If you feel free, we hope you can share your workaround here. It will be very beneficial to other community members having similar questions.

     

     

    Best regards,

    Martin Xie

  • יום שני 28 אפריל 2008 17:44
     
     

    Hi!

     

    Thank you Martin for giving me information, and thank you for the nice words.

     

    Have a great day...

     

    Best regards,

    Fisnik 

  • יום רביעי 25 אפריל 2012 16:55
     
     
    What was the workaround?

    Don