Error occurred in deployment step 'Activate Features': The content type with Id [GUID] defined in feature [GUID] was found in the current site collection or in a subsite.
I've got an ambiguous error in visual studio when i re-deployed a content Type for my tasks list.
Error :
To resolve this problem here is two ways :
First solution :
* Restract solution.
* Close Visual Studio to flush the stale cache.
* Open the project in a new instance of Visual Studio and re-deploy the solution.
Second solution (if the first doesn't work) :
* Re-dploy the project (you may have the error)
* Go to Manage Site feature in SharePoint App, and activate and deactivate the feature of the Content Type.
* Retract the solution and close visual studio to flush stale cache.
* Open the project and redeploy the solution.
Error :
Error occurred in deployment step 'Activate Features': The content type with Id [GUID] defined in feature [GUID] was found in the current site collection or in a subsite.
To resolve this problem here is two ways :
First solution :
* Restract solution.
* Close Visual Studio to flush the stale cache.
* Open the project in a new instance of Visual Studio and re-deploy the solution.
Second solution (if the first doesn't work) :
* Re-dploy the project (you may have the error)
* Go to Manage Site feature in SharePoint App, and activate and deactivate the feature of the Content Type.
* Retract the solution and close visual studio to flush stale cache.
* Open the project and redeploy the solution.
Comments
Post a Comment