Solved

Publish website - keep my folder!

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

707 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