Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Publish website - keep my folder!

Posted on 2014-11-23
2
129 Views
Last Modified: 2014-11-24
I have a very simple asp.net web site. Within the site is a folder where a file is created.
When I publish this site (FTP within Visual Studio 2012) the folder is not copied across with the .aspx pages and the bin folder. I have to remember to create the folder manually on the webserver. When I do some more work on the site and publish again the folder again is gone (set to delete remote files before publish).
How can I tell VS2012 that the folder within the solution is a dependant part of the project and needs to be FTP'd with the rest?
0
Comment
Question by:QPR
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 40461885
It's a limitations of VS that it won't deploy empty folders.  If you want it to deploy you'll need to add a dummy file to the folder.
0
 
LVL 29

Author Closing Comment

by:QPR
ID: 40462890
Perfect thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question