views:

253

answers:

3

How can you determine the "type" of a project in visual studio..

eg if a project is a class library, a web application project, a winforms project a wcf project etc etc...the icons are obviously different for alot of them but is there anwhere where it states the project type?

+1  A: 

Programmatically, using the EnvDTE namespace, you can investigate the Project.Kind property of the Visual Studio project.

However, if you're interested in a more detailed, the project specification file, i.e. the *.csproj, *.vbproj, among others describes the kind of the project in an XML way.

Paulo Santos
A: 

Have you looked in the project file?

John Saunders
A: 

see this http://www.mztools.com/articles/2008/MZ2008017.aspx

zproxy