Is it just me or does the "Exclude From Project" option not exist for folders in a web application? I can use it on individual files (or even folders if it is a windows application) but not on folders.
The reason that I ask is that I have a test site with the following structure (an mocked up example of it anyway):
WebApplication1
WebApplication1\Images
WebApplication1\Data
What I want to do is to publish the site to the live server and overwrite the files in the root folder and the images folder but I don't want to overwrite the data folder as this is live data and needs to remain there (the folder exists on my development server but is full of test data).
With VS2003, I would have created a setup project, selected "Exclude From Project" on the Data folder and when I ran the setup file on the live server, the Data folder would remain intact. Now, if I use the "Publish Web Site" option in VS2005 it will delete the Data folder on the live site!
I guess I could just create a setup project like I did in VS2003, but, the "Publish Web Site" option would be much easier.
____________________________________________________________
Need help finding an answer?
Try the Search Facility or read FAQ222-2244 on how to get better results.
The reason that I ask is that I have a test site with the following structure (an mocked up example of it anyway):
WebApplication1
WebApplication1\Images
WebApplication1\Data
What I want to do is to publish the site to the live server and overwrite the files in the root folder and the images folder but I don't want to overwrite the data folder as this is live data and needs to remain there (the folder exists on my development server but is full of test data).
With VS2003, I would have created a setup project, selected "Exclude From Project" on the Data folder and when I ran the setup file on the live server, the Data folder would remain intact. Now, if I use the "Publish Web Site" option in VS2005 it will delete the Data folder on the live site!
I guess I could just create a setup project like I did in VS2003, but, the "Publish Web Site" option would be much easier.
____________________________________________________________
Need help finding an answer?
Try the Search Facility or read FAQ222-2244 on how to get better results.