Visual Studio 2013 Preview: No Publish To File System?

后端 未结 6 917
死守一世寂寞
死守一世寂寞 2021-01-01 20:38

So I\'ve built my project and I want to use the VS2008/2010/2012 \"Publish To File System\" option in Visual Studio 2013 Preview to push my project to a staging server for t

相关标签:
6条回答
  • 2021-01-01 21:16

    With two other people looking over my shoulder and making random suggestions, we finally stumlbed across the answer. It turns out that VS2013 requires you to create a New Profile for each and every publish you make for each and every project in your solution. Hmm. :-\

    enter image description here

    0 讨论(0)
  • 2021-01-01 21:20

    This can be accomplished easily:

    1. Right click on project in Solution Explorer
    2. Click Publish
    3. Under Profile select <New Custom Profile...>
    4. Create profile name (can be anything, dev.domainname.com)
    5. Under Connection > Publish Method > select File System
    6. Enter the Target location \\server\sharedfolder\

    The rest of the settings are common as they were in the past.

    The next time you go to publish just select the profile and you are done.

    0 讨论(0)
  • 2021-01-01 21:21

    The first time in to VS 2013 you will not have a "New Profile" option as described by KeyOfJ.

    This worked:

    1. Right click on project in Solution Explorer
    2. Click “Publish”. A “Publish Web” dialog box pops up.
    3. Under tab “Profile”, in “Select a publish target”, select “Custom”. A “New Custom Profile” box pops up
    4. Enter a “Profile name” and click “OK”
    5. In tab “Connection” under “Publish Method”, choose “File System”
    6. In tab “Connection” enter a “Target location”. Click “Next”
    7. Under “Settings”, click on “File Publish Options”. Click “Next”
    8. Click “Publish”

    Next time you want to publish this project, VS. 2013 will default to the Profile name you just entered, and you will be able to publish in one click.

    0 讨论(0)
  • 2021-01-01 21:21

    Can you find Team Explorer? View -> Team Explorer. Click Commits, and you can see "Publish to Remote Repository". Type in TFS URL or other Git repo to upload your project.

    0 讨论(0)
  • 2021-01-01 21:29

    FYI, running Visual Studio 2013 Update 5 the publish web dialog looks a bit different, screenshot below:

    1. Choose "Custom"
    2. Give the profile a name and hit OK.
    3. Select "File system" as the preferred publishing method...
    0 讨论(0)
  • 2021-01-01 21:32

    You can create a fake web connection and then reenter data, selecting Local File System.

    0 讨论(0)
提交回复
热议问题