Reputation: 34730
Joined a project a week ago. We use Visual Studio 2008 for C#. How do I know the VS project type (Windows Forms Application, WPF Application, Console Application, ...) of the existing project from its property? thanks,
Upvotes: 13
Views: 10699
Reputation: 116
Upvotes: 2
Reputation: 1835
You could look at the icons in the Solutions Explorer, but I find those to be too small.
You could also find the .csproj files. If you view them with a text editor, there is a node called <OutputType>
that can give you some insight.
Upvotes: 0
Reputation: 137108
In the .csproj file there's a property <OutputType>
Winform/WPF:
<OutputType>WinExe</OutputType>
Console:
<OutputType>Exe</OutputType>
Dll (including web applications):
<OutputType>Library</OutputType>
Which gets you part of the way there. To get the definitive answer you could then look for other properties or components which you know to be unique to the project (xaml files in a WPF application for example (thanks JMD)).
Upvotes: 14