title: Using castle windsor in sharepoint 2010
body: <p>Guys, I need to use castle windsor for a sharepoint project. I have created a new class library project (MyIOCProject) which has a class (CastleConfiguration) to do my configurations. The class inherits from Microsoft.SharePoint.ApplicationRuntime.SPHttpApplication</p>
  
  <p>I have placed the MyIOCProject.dll in C:/inetpub/wwwroot/wss/VirtualDirectories/my app version/bin</p>
  
  <p>Then in "C:/inetpub/wwwroot/wss/VirtualDirectories/my app version" I have changed global.asax from </p>
  
  <p><strong>&lt;%@ Assembly Name="Microsoft.SharePoint"%>&lt;%@ Application Language="C#" Inherits="Microsoft.SharePoint.ApplicationRuntime.SPHttpApplication" %></strong></p>
  
  <p>to </p>
  
  <p><strong>&lt;%@ Assembly Name="Microsoft.SharePoint"%>&lt;%@ Application Language="C#" Inherits="MyIOCProject.CastleConfiguration" %></strong></p>
  
  <p>After an IISReset I get the following error: Could not load type 'MyIOCProject.CastleConfiguration'.</p>
  
  <p>Can someone help please.</p>