visual-studiovisual-studio-2005

How do you tell the Visual Studio project type from an existing Visual Studio project


Using Visual Studio 2005.

Is there anything in the .sln or .vcproj files (or anywhere else) that defines the project type / subtype?

Edit: What I mean is that when you create a project, you first choose a language (e.g. Visual C#), then a project type (e.g. Windows) and then a subtype (e.g. Console Application).

Where is this information stored within the VS files?


Solution

  • Some further research and I found this:

    INFO: List of known project type Guids.

    My .sln file contains:

    Visual Studio 2005
    Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AddNumbers", "AddNumbers.csproj", "{2C81C5BB-E3B0-457E-BC02-73C76634CCD6}"

    The link shows:

    Project Type Description Project Type Guid
    Windows (C#) {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}

    So it's Windows C# and the subtype is as per @HardCode's reply. In my case, it's "Console Application".