RadioSystems / RadioSystems.AzureAuthentication

Orchard Module for Azure Authentication
Apache License 2.0
7 stars 5 forks source link

Assembly Reference Errors #7

Open wharri220 opened 8 years ago

wharri220 commented 8 years ago

One of the biggest challenges on this module thus far are the conflicts between installed NuGet packages and assemblies included in the Orchard lib folder. In particular, Microsoft.Owin and Microsoft.Owin.Host.SystemWeb, among others(Microsoft.Owin.Security, Microsoft.Owin.Security.Cookies, etc...). While I have the code working, it's difficult to get references resolved to run the module the first time.

This module makes use of several packages that all depend on Microsoft.Owin version 3.0.1.0. The version included in the Orchard lib folder is 3.0.0.0.

I've been working to determine the best way of resolving this problem. One thought I had was to update the version of Microsoft.Owin (and the other assemblies) in the Orchard lib folder and reference from that location. But that might cause other pain later. The only other alternative is to include binding redirects in the Orchard.Web web.config folder, and be vigilant about references to those assemblies.

Anyone have thoughts on this problem?

sebastienros commented 8 years ago

We should upgrade Orchard's references to 3.0.0.1. If we submit your module as a PR on Orchard, then we can upgrade them at the same time.