【发布时间】:2011-03-03 16:34:20
【问题描述】:
就我而言,我希望 ~/MyApp 中的 webapp 引用 ~/MyApp/bin 文件夹中的私有程序集。根据Microsoft documentation,这似乎在我的环境中是可能的,但我无法让它工作:
- 我的应用设置在 ~/MyApp 中。
- 我没有对根目录的写入权限。
- 我只有 FTP 访问服务器(即,我不是 IIS 管理员,无法登录机器)
- 我正在尝试在我的子目录应用程序中使用 FCKeditor
这是我的文件夹结构:
/
| -MyApp
| | - 斌
| | | *FredCK.FCKeditorV2.dll
| | *默认.aspx
| | *web.config
这是 ~/MyApp/web.config 的 <runtime> 部分:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="MyApp;MyApp/bin" />
</assemblyBinding>
</runtime>
我已经尝试了各种方法来开始工作。在 Fusion 日志中,我的 privatePath 目录没有显示在探测路径中。
【问题讨论】:
-
@Bago:它是“ASP.NET”,一个词。
-
你似乎有一个关闭但非打开的依赖组件标签
标签: asp.net iis assemblies