asp.net mvc 4 - VS2012 NuGet update causing cryptic warnings on build -


the recent visual studio 2012 update seems have broke in build. think has last week's nuget update.

nuget package restore started. packages installed , there nothing restore. nuget package restore finished. 1>------ rebuild started: project: project1, configuration: debug cpu ------ 1>  consider app.config remapping of assembly "microsoft.data.odata, culture=neutral, publickeytoken=31bf3856ad364e35" version "5.2.0.0" [] version "5.6.0.0" [c:\users\avianbc\desktop\project1\packages\microsoft.data.odata.5.6.0\lib\net40\microsoft.data.odata.dll] solve conflict , rid of warning. 1>  consider app.config remapping of assembly "microsoft.data.edm, culture=neutral, publickeytoken=31bf3856ad364e35" version "5.2.0.0" [] version "5.6.0.0" [c:\users\avianbc\desktop\project1\packages\microsoft.data.edm.5.6.0\lib\net40\microsoft.data.edm.dll] solve conflict , rid of warning. 1>  consider app.config remapping of assembly "system.spatial, culture=neutral, publickeytoken=31bf3856ad364e35" version "5.2.0.0" [] version "5.6.0.0" [c:\users\avianbc\desktop\project1\packages\system.spatial.5.6.0\lib\net40\system.spatial.dll] solve conflict , rid of warning. 1>c:\windows\microsoft.net\framework\v4.0.30319\microsoft.common.targets(1605,5): warning msb3247: found conflicts between different versions of same dependent assembly. 1>  project1 -> c:\users\avianbc\desktop\project1\project1\bin\project1.dll ========== rebuild all: 1 succeeded, 0 failed, 0 skipped ========== 

how resolve these warnings? i've had kinda of weird side effects in application since have appeared such as: inconsistent model binding (related edm assembly?).

i'm not sure why think cryptic, it's quite clear. have more 1 version of packages installed (5.2 , 5.6) of components referencing 5.2 , 5.6, , causing warning. it's suggesting alias 5.2 5.6 assemblies referencing 5.2 use 5.6 instead.

this no best approach though, unless have no control on assemblies. should uninstall 5.2 packages, , update nuget references 5.6 version , rebuild.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -