Solved

Publish website - keep my folder!

Posted on 2014-11-23
2
125 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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