Cambia cartella ASP.NET DLL

voti
-1

Sto usando questo metodo per modificare la cartella DLL. Tuttavia, questo metodo non consente l'accesso alla directory superiore.

Sarei felice se si aiutano. Grazie.

file web.config:

</configuration>
<runtime>
    <assemblyBinding xmlns=urn:schemas-microsoft-com:asm.v1>
      <probing privatePath=bin;C:\Windows\SysWOW64 />
    </assemblyBinding>
  </runtime>
</configuration>
È pubblicato 03/08/2016 alle 07:24
fonte dall'utente
In altre lingue...                            


1 risposte

voti
0

Ho risolto il mio problema aggiungendo i file separatamente. Grazie.

Soluzione:

web.config

<configuration>
<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc"  culture="neutral" publicKeyToken="31bf3856ad364e35"/>
        <codeBase version="5.2.3.0" href="FILE://C:/bin2/subbin/System.Web.Mvc.dll"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Http"  culture="neutral" publicKeyToken="31bf3856ad364e35"/>
        <codeBase version="5.0.0.0" href="FILE://C:/bin2/subbin/System.Web.Http.dll"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Http.WebHost"  culture="neutral" publicKeyToken="31bf3856ad364e35"/>
        <codeBase version="5.0.0.0" href="FILE://C:/bin2/subbin/System.Web.Http.WebHost.dll"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Net.Http.Formatting"  culture="neutral" publicKeyToken="31bf3856ad364e35"/>
        <codeBase version="5.2.3.0" href="FILE://C:/bin2/subbin/System.Net.Http.Formatting.dll"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json"  culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
        <codeBase version="4.5.0.0" href="FILE://C:/bin2/subbin/Newtonsoft.Json.dll"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Design"  culture="neutral" publicKeyToken="B03F5F7F11D50A3A"/>
        <codeBase version="4.0.0.0" href="FILE://C:/bin2/subbin/System.Design.dll"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Windows.Forms"  culture="neutral" publicKeyToken="B77A5C561934E089"/>
        <codeBase version="4.0.0.0" href="FILE://C:/bin2/subbin/System.Windows.Forms.dll"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Entity"  culture="neutral" publicKeyToken="B77A5C561934E089"/>
        <codeBase version="4.0.0.0" href="FILE://C:/bin2/subbin/System.Web.Entity.dll"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Data.Linq"  culture="neutral" publicKeyToken="B77A5C561934E089"/>
        <codeBase version="4.0.0.0" href="FILE://C:/bin2/subbin/System.Data.Linq.dll"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

</configuration>
Risposto il 03/08/2016 a 08:35
fonte dall'utente

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more