azure - BindingRedirect not being honored within cloud service -


i'm receiving exception when initializing cloud service:

system.io.fileloadexception: not load file or assembly 'microsoft.windowsazure.storage, version=2.1.0.0, culture=neutral, publickeytoken=31bf3856ad364e35

understanding have version 4.3.0.0 installed, have added following redirect app.config worker:

<dependentassembly>   <assemblyidentity name="microsoft.windowsazure.storage" publickeytoken="31bf3856ad364e35" culture="neutral" />   <bindingredirect oldversion="0.0.0.0-4.3.0.0" newversion="4.3.0.0" /> </dependentassembly> 

when run locally within local emulator resolves issue. when packaged through cspack app.config , worker.dll.config included in package.xml, both have binding redirect included. 'microsoft.windowsazure.storage' included, both .dll , .xml.

so far see it, required during runtime has been supplied.

unfortunately, exception telling me redirect has not been applied , still looking version 2.1.0.0. doing wrong here?

add file named after project it'll match name of assembly.

{projectname}.dll.config copy output directory = always , build action = none

this file has same syntax app.config. should contains assembly bindings.

for reason, file generated app.config not included in deployment package.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -