I am having problems implementing a MvxTabsFragmentActivity, very similar to the one Stuart created in one of his examples.
I am getting this error:
The type 'Android.Support.V4.App.FragmentActivity' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Android.Support.v4, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Problem is, I have referenced Mono.Android.Support.v4 and it appears to be correctly referenced:
There is a difference between the versions required and the version actually referenced, could the error be coming from there?
Does anyone know how to solve this?
Thanks in advance
Related
I'm encountering an issue with the Unity.Compat.dll.
This dll includes System.Reflection libraries in it.
If I want to use: System.Reflection.TypeInfo
For example, I cannot, because it will collide with the Unit.Compat.dll
This is the compilation error that I'm getting when trying to use TypeInfo:
Error CS0433 The type 'TypeInfo' exists in both 'Unity.Compat, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Anyone else encountered with this issue?
Any workaround?
I'll share the workaround that worked for me. Basically:
In player settings change Scripting Runtime Version from '.Net 4.x Equivalent' to '.Net 3.5 Equivalent'
Restart Unity
Revert to 4.x
Restart again. Problem should be solved (at least it worked for me and a bunch of other people 🙃)
Unity 2018.1.4f1
source: https://groups.google.com/d/msg/firebase-talk/2w1Lk62VIcg/DbFGXg3-AQAJ
Try removing the Assets/Firebase folder from your project then re-importing the Firebase Unity SDK.
This is still a problem.
Firebase is colliding with the Entities package, among others.
I m getting following error while trying to add RandomSiteControls to my project.How to fix below error?
" CS1705: Assembly 'RandomSiteControls, Version=7.1.5200.1, Culture=neutral, PublicKeyToken=null' uses 'Telerik.Sitefinity, Version=7.1.5202.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' which has a higher version than referenced assembly 'Telerik.Sitefinity, Version=7.1.5200.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' "
I am using sitefinity version 7.1.5200.0
To get rid of the errors, you can either add some assembly bindings to your web.config or download a different version of the RamdonSiteControls that was built against those particular Sitefinity dlls.
You can find the version for 7.1.5200 here.
I added the reference file "Newtonsoft.Json.dll" to my project. After a while, I decided to remove the reference from References section of project. Projects started to give following error :
Exception Details: System.IO.FileLoadException: Could not load file or
assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral,
PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The
located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)
I tried everything. I searched any words with "Newtonsoft" in the project and delete all of them. But nothing changes. I am getting still this error. Can anyone help me? How can I remove this reference forever ?
I found the solution. The project requires "Newtonsoft.Json, Version=4.5.0.0", But I realized that I load the "Newtonsoft.Json, Version=6.0.0.0" version. After I add v6 dll file to project, the problem solved. Thanks for your responses.
Up until yesterday we only saw this error once before when the site first went live but now it has happened two days consecutively.
This is the error:
Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0,
Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its
dependencies. The located assembly's manifest definition does not
match the assembly reference. (Exception from HRESULT: 0x80131040)
So far, what seems to work is toggling the ClassLibrary > References > Newtonsoft.Json > "Copy Local" property (between True and False), then pushing the appropriate .dll's up.
Does anyone know why this references randomly becomes inaccessible?
I'm a .Net and NopCommerce noob so any advice or articles that would shed some light or point me in the right direction would be very helpful.
I start using ThinkTecture.IdentityModel in my project and I am facing a serious issue. Please help me on the same.
Error 1 "The type 'System.IdentityModel.Tokens.SecurityToken' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Try manually adding the System.IdentityModel dll reference from the assemblies. This is what worked for me.
-Right click project, add reference
-Assemblies, Framework, System.IdentityModel v4.0.0.0