This project is read-only.


binding redirect fails for worker role


run install-package Microsoft.AspNet.WebApi.OwinSelfHost
  1. passes, adds binding redirect to empty web application
  2. passes, with web role
  3. fails, adding binding redirect to worker role (has app.config)
  4. fails, adding binding redirect to class library with app.config or web.config
Found that NuGet is checking for project type and doesn’t add binding redirect for class library projects. Worker role is a class library project and hence fails.

Expected for a worker role project:
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="" newVersion="" />
Closed Dec 30, 2013 at 2:38 AM by bhuvak


deepakaravindr wrote Dec 11, 2013 at 10:23 PM

Fixed with 448652d028e3f01ba4022e147baaf4e1fb3f969b