473,434 Members | 1,807 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

How to exclude folders from project in VS 2005?

In VS 2003, I was able to exclude full folders from a project but I can't
do the same in VS 2005. I can exclude files but not folders. I prefer to
exclude at the folder level because the folder icon has visual indicator.

John Dalberg
Feb 24 '06 #1
1 1518
Hi,

you can start using Web Deployment Project addition in VS2005, of course
assuming that you want to configure excluding with deployment in mind.
http://msdn.microsoft.com/asp.net/re...p/default.aspx

When using it, you can configure which folders etc are included in the
deployment (or exluded from it), for ewxample when modifying the wdp project
file by adding

<ItemGroup>
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\test\*.*"/>
</ItemGroup>

with this you essentially exclude folder "test" and it's content from the
output.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

"John Dalberg" <no****@nospam.sss> wrote in message
news:20*******************@newsreader.com...
In VS 2003, I was able to exclude full folders from a project but I can't
do the same in VS 2005. I can exclude files but not folders. I prefer to
exclude at the folder level because the folder icon has visual indicator.

John Dalberg

Feb 26 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: db2group88 | last post by:
we are using db2 udb v8.2 Express edition on windows 2003,we use third party vendor software to help replicate one server to another. Production server has three instances, each instances has one...
4
by: Brad | last post by:
I'm not one to rant or flame....so please excuse me while I do so for this once. I've now spent a bit of time working with VS2005 beta 2 to see how it functions for web development, especially how...
0
by: VB Programmer | last post by:
When I publish a 2.0 website how can I exclude certain folders & files that are unnecessary. After waiting for about 5 minutes for the publish to finish I manually stopped VS2005 because it was...
2
by: robert | last post by:
Like many people I am inconvenienced by the fact that files cannot be excluded from an asp.net application. I basically have some text files that are written to by the application and these files...
3
by: Gabe Matteson | last post by:
How would I go about excluding a list of specific directories in a listbox from being queried using the following code? Any ideas? Thank you. Private Sub rAllStats(ByVal sDir As String) Try ...
2
by: Arsen V. | last post by:
Hi, How to exclude the App_Data directory from Visual SourceSafe? It appears that Vs 2005 automatically adds the App_Data directory with the large binary MDF and LOG files to the Visual...
1
by: AntiChrist | last post by:
In VS 2005 if you exclude files from a project, it actually renames the file to filename.exclude. In previous versions, it just left the file alone but excluded it. If you have a very large...
5
by: rogersw8n | last post by:
Some how, some way the account that creates folders under Temporary Internet files has been changed to a domain account for VS 2003 and VS 2005. I recently installed VS 2005. All seemed to be ok...
1
by: John Bailo | last post by:
* Using VS.NET 2005, c#, ASP.NET 2.0 I downloaded some source code for an ASP.net web site. The site has code in folders and subfolders. There were no solution or project files. I...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.