Can you use a publishing profile to deploy to multiple locations?

Is there a way to deploy my web app to multiple locations?  Right now I am using a publishing profile (example below) and tried to use MSDeploy to deploy to my server and then just to a network location by having multiple PropertyGroup attributes.
Without creating two builds (one to deploy to the server and a second to the file system) how can I do this?  The code below doesn't cause any errors but it only uses the last PropertyGroup.
Any suggestions?
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <WebPublishMethod>MSDeploy</WebPublishMethod>
    <SiteUrlToLaunchAfterPublish>https://myserver/app</SiteUrlToLaunchAfterPublish>
    <MSDeployServiceURL>https://myserver:8172/msdeploy.axd</MSDeployServiceURL>
    <DeployIisAppPath>myserver/app</DeployIisAppPath>
    <RemoteSitePhysicalPath />
    <SkipExtraFilesOnServer>False</SkipExtraFilesOnServer>
    <MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
    <UserName />
    <AuthType>NTLM</AuthType>
    <DeployAsIisApp>False</DeployAsIisApp>
    <IncludeSetACLProviderOnDestination>False</IncludeSetACLProviderOnDestination>
    <AllowUntrustedCertificate>True</AllowUntrustedCertificate>
  </PropertyGroup>
  <PropertyGroup>
    <WebPublishMethod>FileSystem</WebPublishMethod>
    <SiteUrlToLaunchAfterPublish />
    <publishUrl>\\networkfolder\app</publishUrl>
    <DeleteExistingFiles>True</DeleteExistingFiles>
  </PropertyGroup>
</Project>

Hi,
Thank you for your response information.
I am trying to involve someone to further look at this issue. There might be some time delay. Appreciate your patience.
Thank you for your understanding and support.
Regards,
Lily Wu
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Similar Messages

  • How can you use the same e-mail address for multiple ipads?

    I have two iPads.. an iPad and an ipad 2.  I registared my new ipad 2 and now my old ipad is will not let me log on and is telling me that my e-mail address is already in use.  how can you use the same e-mail address for multiple ipads?

    And by using the same Apple ID you can also share purchases.  If you have a different Apple ID for each iPhone then you can't share purchases.

  • Can you use home share where there are 2 itunes on the same computer but under different user profiles?

    Can you use 'Home Share' where there are 2 itunes on the same computer, but under different user profiles?

    check out method one from this support article -> How to use multiple iPods, iPads, or iPhones with one computer

  • Can you use protools 8 on lion and on mountain lion

    can you use protools 8 on lion and on mountain lion

    You will need to run System Profiler (Applications - Utilities - System Profiler) then click Applications in the left column and check to in the Type column to see if the app is an Intel or Universal app. If it is either one then you're on the right track, if it says PPC or Power PC then the answer is a simple no.
    However to really find out you should contact the developer.

  • Can you use a DVR recorded stream as a VOD?

    When a DVR stream finishes publishing, can you use the cached file as a VOD?
    Where is the DVR file stored?

    DVR is nothing but record-in-progress file , so once you finish publishing, the recorded file can be used just like any other VOD. DVR file is stored where your VOD files would be stored. Basically there is nothing like DVR file - DVR is just a functionality which gives you power of live and flexibility of VOD, ti gives you feeling of live but basically its recording in progress and since its gettting written to disk , you can pause and seek over it. Hope this answers your question.

  • What other sites can you use with Libsyn/Blubrry?

    I noticed that Libsyn has an option to publish to blogger.
    If you wanted to have a wordpress site, do you need to get another web host or can you use the storage of your podcast files, via FTP, to a few pictures, etc. for your podcasts' site?
    One consistent complaint with Libsyn is how terrible their websites are, I don't mind blogger, but I'd like to know what my other options are...
    Blubrry seems to have wordpress support as a normal feature.
    could you use a google+ page as your podcasts' main site? Tumblr?
    Thanks again!

    Pse 10 can use most of the plugins that work in the full photoshop.
    Here are a couple of good links that should give you an idea of what plugins are out there:
    http://thepluginsite.com/resources/index.htm
    http://photoshop.pluginsworld.com/plugin.php?directory=adobe&software=photoshop

  • Can you use the same Apple ID on more than one MacBook Pro for updates and applications?

    We just got a few new MacBook Pro's and when I went to install updates it said I need to make an Apple ID.  Can you use the same Apple ID and email address for that Apple ID on multiple machines, or do I need them both to be unique per machine?  I'm not sure how that works when you have multiple machines.

    An Apple ID is a user name you use for everything you do with Apple. Creating an account for an Apple service, such as the iTunes Store or the App Store, creates an Apple ID. Apple ID allows you to access other Apple services.   So you can use the same Apple ID for up to 10 Macs associated with it.
    To create an Apple ID you need to enter  your full name and your primary email address as your Apple ID. This will be used as the contact email address for your account.

  • How many Ipods can you use with one Itunes account?

    How many iPods can you use/sync with one iTunes account?

    PT wrote:
    Macistotle wrote:
    Unless you have DRM still haunting your tunes ... Then you can only use those songs on 5 devices. Otherwise, connect as many as you like (as stated above).
    No, you can sync your DRM tracks to an unlimited number of iPods (but only authorized to play on 5 different computers/user accounts)
    Patrick
    So I can sync two iPods to my iTunes account and sync the same digital copy movies that come with some o' my DVDs to both ipods? Do movies make a difference really, DRM-Wise? Thanks in advance.

  • Can you use a iTunes card to purchase more storage for iCloud

    can you use a itunes card to purchase more storage for icloud

    No. iTunes Store only.
    "An iTunes Gift Card lets you shop for anything at the iTunes Store "  >  http://store.apple.com/us/browse/home/giftcards/itunes/gallery

  • Can you use soundtrack pro's loops in your youtube videos or do you need to purchase a license since it is royalty free?

    Can you use soundtrack pro's loops in your youtube videos or do you need to purchase a license since it is royalty free?
    I understand they are royalty free, I am just confused about using the actual loops for films, videos, etc - if there is a special license you must purchase or what?
    Yes sure, it's a library and may be used a lot - but is it legal or against agreement?
    And to clarify - what about music I create on the program , that is ok right?

    If you purchased the software you have the right to use the loops that came with the software in the software to make whatever you want.

  • Can you use the Airport Express A1264 as an AP and a DHCP server at the same time?

    Can you use the Airport Express A1264 as an Access Point and a DHCP server at the same time?
    I would like to use it as a DHCP server and AP at the same time in my LAN (no internet, just local machines through a few switches). I was lead to belive this could be the case from a few networking friends that haven't been friendly enough to help me out setting it up.

    I need it to act as a dLink/Cisco/Linksys/etc basic wifi router, in the fact that you can access it via wifi, and it will spit out DHCP addresses (192.168.1.xxx) to everything wired downstream of it.
    I want to simultaniously provide a Wifi connection and a LAN connection at the same time
    Thanks,
    BRad

  • HT204053 Can you use the same Apple ID for two devices ?

    I have an MacPro and I am buying an iPad.  Can you use the same Apple ID for two devices or should I create an new AppleID for the ipad?

    Welcome to Apple Support Communities
    The Apple ID purpose is to have the same data in all your devices and share your purchases among all your devices, so you can use your Apple ID in both devices

  • Can you use FaceTime using two iPads with same apple id

    Have two iPads for wife and I. Both use same apple ID account. Can you use FaceTime between them?

    Heres what you do. got to settings>facetime>add an email and than add another email (note: cannot be the same email that you use on your apple ID) A verifaction email will be sent. Go to your email account and verify the email by clicking on the link. Now using the other ipad, make a facetime call to the email you just verified and you can now facetime between the two!
    One more side note. Make sure that only the email you just verified has a check mark on it. The other ipad shoud have a check mark next to the orginal apple ID email.

  • Can you use 2 Thunderbolt Displays with Windows 7/Bootcamp on a Early 2011 Macbook pro?

    Can you use 2 Thunderbolt Displays with Windows 7/Bootcamp on a Early 2011 Macbook pro?
    I have 2 and cannot seem to get them to work?

    Can you use 2 Thunderbolt Displays with Windows 7/Bootcamp on a Early 2011 Macbook pro?
    I have 2 and cannot seem to get them to work?

  • How can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    how can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    No you do not need separate Apple ID's in order to use 3 devices with one Apple ID. I use 4 devices to Message and FaceTime and all use the same Apple ID. You do need to add additional email addresses for the other devices.
    Look at this very informative video for the instructions.
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

Maybe you are looking for

  • Help - problems with Credit Memo's

    Hi Can anyone help. We're running Financials 10.7 and have a problem. We've tried to create a credit memo to cancel an invoice. The credit memo and invoice tie up and are linked all through the line until the 'Invoice Installments' screen where there

  • Cannot install Photoshop CS3 - Installer just dissappeared

    I have an issue installing Photoshop CS3 as follow: I have removed all Photoshop CS3 Beta manually (Use control panel, deleted files and registries) as instructed in this web and get rid of all thing involved Adobe out of my computer. When I clicked

  • MacBook Pro (early 2011) won't boot, sleep light comes on and fans come on high.

    Just had a stick of RAM and the CPU replaced by Apple for an unrelated issue, but now this has cropped up. A little searching indicated that the GPU became unsoldered, but I'm curios if anyone can shed some light on this issue. Thanks.

  • How to Invert "Acquisition in Progress" - Signal (Pike F421B)

    Hello everybody, I am currently workin on a camshaft inspection machine using the Pike F421B. Before I was using the software AVT Smartview. Now my company wants to change to LabVIEW since we developed our own analysis program. During the process of

  • OCIDateTimeFromText problem

    Hi All, I'm writing some c/c++ code and need to integrate with Oracle DB. I have problem when I'm trying to convert datetime string to OCIDateTime. connect to Oracle sword ociret; ociret =  OCIDescriptorAlloc ( envhp,  (dvoid**)&mesg->my_date,  OCI_D