【问题标题】:Using castle windsor in sharepoint 2010在 sharepoint 2010 中使用城堡温莎
【发布时间】:2011-03-05 14:45:32
【问题描述】:

伙计们,我需要将城堡温莎用于共享点项目。我创建了一个新的类库项目(MyIOCProject),它有一个类(CastleConfiguration)来做我的配置。该类继承自 Microsoft.SharePoint.ApplicationRuntime.SPHttpApplication

我已将 MyIOCProject.dll 放在 C:/inetpub/wwwroot/wss/VirtualDirectories/my app version/bin 中

然后在“C:/inetpub/wwwroot/wss/VirtualDirectories/my app version”中,我将 global.asax 从

IISReset 后出现以下错误:无法加载类型“MyIOCProject.CastleConfiguration”。

有人可以帮忙吗。

【问题讨论】:

  • 指定类型名时不需要指定程序集吗?
  • 谢谢,这就是我收到此错误的原因。

标签: sharepoint-2010 castle-windsor castle global-asax


【解决方案1】:

已修复,请参阅问题的 cmets。 (添加这个以便可以接受答案并且问题不会显示为没有答案。)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-21
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多