Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / September 2004

Tip: Looking for answers? Try searching our database.

making a project which doesn't build anything

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy Fish - 22 Sep 2004 11:56 GMT
Hi,

I'm using visual studio .net 2003. Part of my development tree consists of
some miscellaneous files that I would like to see in solution explorer
(config files, XML, XSD etc) but they aren't source files, and they aren't
in a subdirectory of a source directory.

I tried to create a project to hold them but, for instance, if I create an
empty c# project, it still tries to compile it as c# so my compilation
fails. if I try to create it as a web project, I need to have a URL to
access them from a web server.

is there any way to add a "project" or some other container so that I can
see my files in solution explorer without visual studio trying to compile
them

Andy
Carlos J. Quintero [MVP] - 22 Sep 2004 13:41 GMT
Yes, you can add them belonging to the solution and not to a project:

In Solution Explorer, select the solution, right-click Add -> Add Existing
Item... the item is added to a new "Solution Items" node.

Signature

Carlos J. Quintero (Visual Developer - .NET MVP)

FAQs, Knowledge Base, Files, Docs, Articles, Utilities, etc. for .NET
addins:
http://groups.yahoo.com/group/vsnetaddin/ (free join)

> Hi,
>
[quoted text clipped - 13 lines]
>
> Andy
Andy Fish - 22 Sep 2004 15:23 GMT
thanks for the quick reply

I would have preferred to be able to have subfolders to match the directory
structure, but this is better than nothing

> Yes, you can add them belonging to the solution and not to a project:
>
[quoted text clipped - 21 lines]
>>
>> Andy
Steve McLellan - 22 Sep 2004 18:55 GMT
You can also create a project and exclude it from all solution
configurations in configuration manager, then it will never get built
automatically (though you'll have to avoid asking it to build).

Steve

> thanks for the quick reply
>
[quoted text clipped - 26 lines]
> >>
> >> Andy

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.