Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm Working on a project in Visual Studio 2012 (LightSwitch),But when i try run the project or Bulid the project I get the following error message:

Assembly 'Microsoft.Data.Services, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Data.OData, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.Data.OData, Version=5.6.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 
c:\Program Files\Microsoft WCF Data Services\5.6.4\bin.NETFramework\Microsoft.Data.Services.dll 


Can someone please point me in the right direction?

What I have tried:

almost check everything,to get this thing work but,it seems nothing work or maybe i miss something.
Posted
Updated 28-Jul-17 2:25am
Comments
Graeme_Grant 28-Jul-17 8:29am    
Be aware that Lightswitch is no longer supported by Microsoft: LightSwitch Update | Visual Studio LightSwitch Team Blog[^]

In fact, they go as far to say, in the above-linked blog post: "We no longer recommend LightSwitch for your new apps"
Man Down 28-Jul-17 8:47am    
i dont see you comment :D just kidding . i didnt know dat :) but, i need this version of vs to work :)

1 solution

Check your references: one of the assemblies you are trying to use requires a higher version of the .NET framework than the main application does.
If you need this assembly, you need to increase the version for your app, as you can;t switch to a higher .NET version once your app is started.
 
Share this answer
 
Comments
Man Down 28-Jul-17 8:45am    
tnx for you comment, i know wat error is about,but i dont where should i target to fix this issue, i check assemblies , there is two asmb with diffrent version,i tried to change of them but ,i dont have to be honest ,if you know about this issue ,please be more specific :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900