Friday, February 10, 2012

"The project type is not supported by this installation"

Today I have faced this problem when try to open a VS2010 project which is covert from VS2008 project. FYI:This project was built by another developer.

After conversion open the solution it gave me the following error,"The project type is not supported by this installation"

Possible Cause:It may possible that lack some advanced frameworks like newer versions of Windows Mobile SDK, but IIRC error message in such case is different.Or may be some updated packages required Or Visual studio version is not matched with your one(VS2008 Express, Standart, Pro or Team System/ VS2010 Professional, Premium or Ultimate)

After search on net I have found several solution, now these solutions are share with you.

Solution 1:(this is worked for me)

Open the Project.csproj file with any editor like notepad or notepad++,
Delete whatever you found between <ProjectTypeGuids></ProjectTypeGuids>

Solution 2:

Open a new cmd prompt with admin privilege.
Type “devenv / setup” and then run(takes a while without any visual activity).

Solution 3:

Open a new cmd prompt with admin privilege.
Type “devenv /ResetSkipPkgs” and then run(takes a while without any visual activity).


Useful Tips
This tips is not this error specific. But hope that helpful for others. Sometimes we can't open our web project using solution. One of the main reason is that this web project is configured for IISUSER only. So to open this type of project:

1.Open the web.config file
2.Find the <IISUSER></IISUSER>
3. Make it False=> <IISUSER>False</IISUSER>
Now hopefully you web project is open by solution.

3 comments:

Sumit said...

Solution 1 worked for me too, thanks :)

Unknown said...

Welcome..its my pleasure :D

Avhishek said...

Solution 2 worked for me :D Thanks yaar

Method 'StartWorkflowOnListItem' in type 'Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider'

Exception: Method 'StartWorkflowOnListItem' in type 'Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider'...