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,
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)).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With