title: Content Type can't be deleted
body: <p>I have a content type that won't go away.  I've tried messing with the feature that installed it (reinstalling, deactivating, retracting, etc.), to no avail.  Finally, here is an attempt in PowerShell that illustrates the problem succinctly:</p>
  
  <pre><code>PS C:\Users\Administrator&gt; $web = get-spweb http://cbaoth/sites/dev0
  $ct = $web.ContentTypes["Timed Activity"]
  $u = [Microsoft.SharePoint.SPContentTypeUsage]::GetUsages($ct)
  
  if ($u.Count &gt; 0) {
    foreach ($usage in $u) {
      Write-Output ("The content type is used here: {0}",$usage)
    }
  } else {
    $ct.Delete()
    $web.Update()
  }
  Exception calling "Delete" with "0" argument(s): "The content type "Timed Activity" is part of an application feature."
  At line:10 char:13
  +   $ct.Delete &lt;&lt;&lt;&lt; ()
      + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : DotNetMethodException
  </code></pre>
  
  <p>Anyone have any idea what I can do about this?  I'm developing a solution with content types in it, and I can't make changes because it fails to retract properly and the subsequent deployment fails.</p>