Solved

Publish website - keep my folder!

Posted on 2014-11-23
2
132 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
[X]
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
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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
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…

733 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