Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running web application from bin\debug folder

Tags:

asp.net

I'm trying to configure IIS to look for DLLs in the bin\Debug directory (as opposed to the bin directory). I tried updating my web.config, with the following line:

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

However, it still doesn't see that directory. Is there something else I am missing?

like image 385
VoimiX Avatar asked Feb 22 '12 11:02

VoimiX


1 Answers

That's only for secondary assemblies. Jeff Atwood has blogged about it. You cannot entirely replace the bin folder. It just allows you to define an additional probing folder.

like image 128
Darin Dimitrov Avatar answered Sep 27 '22 20:09

Darin Dimitrov