Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code Analysis breaks due to RIA?

 MSBUILD : error : CA0055 : Could not unify the platforms (mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, mscorlib, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)

The only external libs I'm loading is RIA 1.0 SP2, and I thought that should be ok for SL5?

How can I check the assemblies to see what assembly that links to mscorlib v.2.0.5.0?

Edit: The RIA assemblies links with mscorlib 2.0.5.0 and I assume this is the reason for the error. Now I'm stuck with no code analysis, and that really suck. Any known workarounds for this?

like image 844
rozon Avatar asked Nov 13 '22 09:11

rozon


1 Answers

You can use Reflector from RedGate, JustDecompile from JetBrains or dotPeek from JetBrains, to find the references and dependancies of a library.

like image 187
Scott Wylie Avatar answered Nov 16 '22 03:11

Scott Wylie