The partial project item type does not have a value for this property. Visual Studio 2012 & SharePoint

Hi There,

I am building a custom master page for SharePoint branding and noticed that my Visual Studio 2012 shows a red cross sign on the master page module. As soon as deploy the solution, it throws the error below.

Error: The partial project item type does not have a value for this property.


Thanks to Muhammad Tayyab Khan for writing this post. It solved my problem.

Solution was very simple.


Modified the "SharePointProjectItem.spdata" on which module its showing red cross sign to  added the value SupportedTrustLevels="All"  SupportedDeploymentScopes="Web, Site"   in the <ProjectItem>.

It will look like below.


Redeploy the solution. It worked for me and no more error.

Update (02/29/2016):
Although it fixed my error but the Red Cross icon was still showing on adding SharePoint item in the solution. I installed Visual Studio update 3 and it fixed my problem.

https://social.msdn.microsoft.com/Forums/office/en-US/dd7f20ad-2f27-48dc-93d2-fc715689c4dd/visual-studio-2012-sharepoint-project-error-the-partial-project-item-type-does-not-have-a-value?forum=sharepointdevelopment

Download: Visual Studio 2012 Update 3 

Comments

  1. Thanks for the post. It solved the issue, i would like to share the below code with you

    SupportedTrustLevels="All" SupportedDeploymentScopes="Web, Site, WebApplication, Farm, Package"

    The above line consists of all the attributes under SupportedDeploymentScopes.

    ReplyDelete
  2. The Partial Project Item Type Does Not Have A Value For This Property. Visual Studio 2012 And Sharepoint >>>>> Download Now

    >>>>> Download Full

    The Partial Project Item Type Does Not Have A Value For This Property. Visual Studio 2012 And Sharepoint >>>>> Download LINK

    >>>>> Download Now

    The Partial Project Item Type Does Not Have A Value For This Property. Visual Studio 2012 And Sharepoint >>>>> Download Full

    >>>>> Download LINK LQ

    ReplyDelete

Post a Comment

Popular Posts

GREYCstoration Oil Paint plugin for Photoshop

Service Bus Gateway service stuck at Starting

PowerApps SubmitForm not clearing People Picker value

Apple iPhone sending SMS automatically 00447786205094

Download file failed signature verification and may have been tampered with - Workflow Manger 1.0 Refresh (CU2)