New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to reflect on the current domain's Assemblies while searching for plugins #172
Comments
Hi PureKrome, I didn't actually understood exactly what I should suppose to do. Also, I have started to begin it from scratch and installed DotNetOAuth and also Microsoft.WebPages.OAtuh Library.. but again, the same error is occurring :/ Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Any help please? Thank you in advance. |
Problem is related to those 2 issues, which is the fact that the code uses reflection to auto find any custom providers (eg. custom dll that is for linked in or steam or whatever..). Now, the reflection is finding some of the mvc-simple-authentication libraries ... which have a dependency on the razor 3. and you don't have that. so you either need to update to razor 3+ or maybe try assembly redirect bindings. question: what version of razor do you have installed? (check your |
Which package did you install. If if you installed the latest package you probably forced your project to upgrade to MVC 5 You should install this one: http://www.nuget.org/packages/SimpleAuthentication.Mvc4/ |
As I told you, I tried to create a new MVC application and try to replicate it on my Umbraco project.. and after a get the references from OAuth etc.. I got again the same error. If I want again to use your package, what should I do exactly? Please. |
Razor version: 2.0.30506.0 |
@simonsag did you try using
|
Yes, but it was throwing an error and does not let me install it.. and then I installed through Nuget Manager...and not from console.. |
what was the error? (screen shot)? what version of MVC did you try and install when you did |
just a normal MVC4 project.. since it has the social networking already incorporated.. |
screen shot please. |
... and .... did you get any runtime errors? |
let me check again.. because I have tried on another replica project |
FWIW, I just did the following:-
and the installs worked. I need to wire stuff up, which i didn't bother .. but just wanted to check that the nugets can install ok. |
The same error :/ Even my umbraco CMS, has stopped working when I installed AutoFac and AutoFac MVC 4 Integration |
This is where I am doing the dependency injection..which when debug, it is accessing it. using System; namespace App_Code
} |
App_Code? That's a Web Site project... We have never tested it with a Web Site, and if it doesn't work in a Web Site project, we would never support it anyway. It's a feature that should have been removed from Visual Studio a long time ago. |
I am using Umbraco...as a CMS platform..It should not make a difference..In the App_code.. there is only my own classes. |
Hi,
I am using Umbraco web application, using MVC 4. I have installed the package to try to get the social networking login authentication works. I gone through step by step. As soon as I tried to click on the redirection /authentication/redirect/Facebook/ for example, the following error is thrown:
I do not know how I am going to solve the issue.. because I cannot yet update to MVC5 since Umbraco does not support it yet.
Does anybody has a solution?
thank you.
The text was updated successfully, but these errors were encountered: