Asked — Edited

Compile Ez-Sdk

I have a problem when I compile EZ-SDK

The error below:

c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3274: The primary reference "EZ_B" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3275: The primary reference "EZ_B" could not be resolved because it has an indirect dependency on the assembly "aForge, Version=2014.1.21.0, Culture=neutral, PublicKeyToken=c3a3457c97d352d9" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3275: The primary reference "EZ_B" could not be resolved because it has an indirect dependency on the assembly "EZ-QRCode, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c3a3457c97d352d9" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3275: The primary reference "EZ_B" could not be resolved because it has an indirect dependency on the assembly "FFMPEG, Version=2013.8.13.0, Culture=neutral, PublicKeyToken=0c913eb082202b8e" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". CoreResGen:

My OS is Win7 64, but I have set the X86 run.

Thank you


ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

#1  

It looks like you have .Net framework 4.0 and you need 4.5. You can download it from this link: http://www.microsoft.com/en-us/download/details.aspx?id=30653

#2  

Thank you so much. The code can be worked in my computer.

#3  

Don't forgot to mark your question answered. Unless you are still having an issue?

United Kingdom
#5  

I also had this problem when adding a reference to the EZ-B library from NuGet even with the project as x86 . I'm using Visual Studio Express 2015.

When adding a reference to the DLL locally, everything worked fine.