Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 从bin\debug文件夹运行web应用程序_Asp.net - Fatal编程技术网

Asp.net 从bin\debug文件夹运行web应用程序

Asp.net 从bin\debug文件夹运行web应用程序,asp.net,Asp.net,我正在尝试将IIS配置为在bin\Debug目录(与bin目录相反)中查找DLL。我尝试使用以下行更新我的web.config: <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="bin\Debug" /> </assemblyBinding> 但是,它仍然没有看到该目录。还有什么我遗漏的吗?这仅适用于辅助

我正在尝试将IIS配置为在
bin\Debug
目录(与bin目录相反)中查找DLL。我尝试使用以下行更新我的web.config:

 <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  <probing privatePath="bin\Debug" />
</assemblyBinding>


但是,它仍然没有看到该目录。还有什么我遗漏的吗?

这仅适用于辅助程序集。杰夫·阿特伍德对此颇有微词。您不能完全替换
bin
文件夹。它只允许您定义一个额外的探测文件夹