all groups > visual studio .net ide > september 2004 >
You're in the

visual studio .net ide

group:

making a project which doesn't build anything


making a project which doesn't build anything Andy Fish
9/22/2004 11:56:56 AM
visual studio .net ide:
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

Re: making a project which doesn't build anything Carlos J. Quintero [MVP]
9/22/2004 2:41:03 PM
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.

--

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)



"Andy Fish" <ajfish@blueyonder.co.uk> escribió en el mensaje
news:udnAmLJoEHA.3460@TK2MSFTNGP15.phx.gbl...
[quoted text, click to view]

Re: making a project which doesn't build anything Andy Fish
9/22/2004 3:23:53 PM
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

[quoted text, click to view]

Re: making a project which doesn't build anything Steve McLellan
9/22/2004 6:55:17 PM
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

[quoted text, click to view]

AddThis Social Bookmark Button