Webdeploy Publish Profile password saving

前端 未结 4 2070
轮回少年
轮回少年 2021-02-14 22:08

I saved a publish profile into an .xml along wit all the login info. But when i import this XML to another computer and try to publish, it\'ll say that my password is incorrect

4条回答
  •  星月不相逢
    2021-02-14 23:00

    Just to add an additional answer, this may be version specific for .pubxml, but you can add these line to ensure visual studio save the password.

    Make sure to use the ".\" prefix for a local account, and "domain\" prefix for an Active Directory account.

    .\PubUser1
    Password1234
    <_SavePWD>True
    

提交回复
热议问题