Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

When custom content types are created using Visual Studio where are the deployed definitions located? I have retraced the ones we have developed and removed them from the farm but my site collection still shows it at a valid content type in the library. Attempting to delete it yields error saying it is part of a solution and prevents me from deleting it. So... I want to find where it is and delete it! I was expecting it in the FEATURES folder but it is not there. SharePOint must think it remains somewhere but where?

Thanks

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

If you are unable to delete content type in your site collection (it says that your content type is still in use even if you are sure you deleted all references) try to empty your web and site collection recycle bins.

If your recycle bins still holds items or lists based on your content type you will be unable to delete it.

Edited: I am 99% sure that CT definitions are stored in database.

share|improve this answer
1  
Awesome guys! Thanks. I found the items in the recycle bin and deleted them. However the content types still remained as valid in the library. Deploying, activating, deactivating, and retract my content type solution fully removed my content types! –  ChiliYago Sep 3 '11 at 14:32
add comment

Make sure that your site collection does not contain any lists or fields which are based on your content type. If yes, then delete them first. Also as Vedran mentioned, clear the lists,fields and content types from your recycle bin too.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.