Solved

Publish website - keep my folder!

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now