Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the significance of ProjectTypeGuids tag in the visual studio project file

What is the significance of the ProjectTypeGuids tag in a visual studio project?? When I created a WPF application, i am seeing two GUIDs in here.

{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}** 

Does these represent WPF and Windows type of applications?

If I create my own project type (.myproj) that has .xaml and .cs files, what should I fill in this ProjectTypeGuids tags? Should I also need to fill the ProjectType tag?

It would also be better if someone differentiate the ProjectType and ProjectTypeGuids*tags.

like image 271
sudarsanyes Avatar asked May 26 '10 09:05

sudarsanyes


People also ask

What is ProjectTypeGuids?

ProjectTypeGuids is used by Visual Studio for project aggregation. In your example you have a WPF (represented by 60dc8134-eba5-43b8-bcc9-bb4bc16c2548) C# project (represented by FAE04EC0-301F-11D3-BF4B-00C04F79EFBC).

How can you tell if a project is asp net?

If you want to know if it's a WCF Project or ASP.NET Web Service simply open your project's folders in File Explorer. You can hover over the icon with your mouse and a tooltip will display the project type as shown in the picture. Also, you can look under the Type column in File Explorer and it shows it there as well.


1 Answers

  • {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} is the GUID for C# project
  • {60dc8134-eba5-43b8-bcc9-bb4bc16c2548} is for project in WPF flavor package

So your ProjectTypeGuids is for a WPF C# project.

You could see the meaning of the different GUID in the register :

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Projects for ProjectTypeGuids
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Packages for packages reference by some project

Some ProjectTypeGuids

 Windows (C#)           {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} Windows (VB.NET)       {F184B08F-C81C-45F6-A57F-5ABD9991F28F} Windows (Visual C++)   {8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942} Web Application        {349C5851-65DF-11DA-9384-00065B846F21} Web Site               {E24C65DC-7377-472B-9ABA-BC803B73C61A} WCF                    {3D9AD99F-2412-4246-B90B-4EAA41C64699} WPF                    {60DC8134-EBA5-43B8-BCC9-BB4BC16C2548} XNA (Windows)          {6D335F3A-9D43-41b4-9D22-F6F17C4BE596} XNA (XBox)             {2DF5C3F4-5A5F-47a9-8E94-23B4456F55E2} XNA (Zune)             {D399B71A-8929-442a-A9AC-8BEC78BB2433} Silverlight            {A1591282-1198-4647-A2B1-27E5FF5F6F3B} ASP.NET MVC            {F85E285D-A4E0-4152-9332-AB1D724D3325} ASP.NET MVC 4          {E3E379DF-F4C6-4180-9B81-6769533ABE47} Test                   {3AC096D0-A1C2-E12C-1390-A8335801FDAB} Solution Folder        {2150E333-8FDC-42A3-9474-1A3956D46DE8}       
like image 66
Julien Hoarau Avatar answered Oct 22 '22 03:10

Julien Hoarau