Problem details
In Visual Studio 2012, the message will be similar to this:
The primary reference “{your reference}” could not be resolved because it was built against the “.NETFramework,Version=v4.5.2” framework. This is a higher version than the currently targeted framework “.NETFramework,Version=v4.5”.
In Visual Studio 2013, the message will be similar to this:
The primary reference “{Your reference}” could not be resolved because it was built against the “.NETFramework,Version=v4.5.2” framework. This is a higher version than the currently targeted framework “.NETFramework,Version=v4.5.1”.
The .NET Framework version numbers may vary, and may include version numbers such as v4.5.2, 4.5.3, 4.6, or higher. The error occurs when the build version is a higher version number than the version that was pre-installed with the version of Visual Studio.
SOLUSI :
- Buka file.vbproj contoh RFID_System_MIDO.vbproj dengan Notepad++
- Lalu Tambahkan Command berikut ini :
<PropertyGroup>
<ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>true</ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>
</PropertyGroup>
kemudian Save. lalu Buka Lagi Project nya di visual studio.
Walaupun nanti ada warning kalau framework yg dipakai berbeda namun aplikasi tetap jalan dengan baik.


EmoticonEmoticon