I am working on a C++/CLI project with VS 2012 in Dynamic Library (.dll) and x64 mode.
If I switch the mode to Static Library, I get the error below.
Er
Open visual studio and unload your project then Go to the project folder and open file .vcxproj . Search for tag "targetFrameworkVersion" (if not present it means ur project is not using dot net frameworks.so no requirement of change) Change it to required version Save the file. And now reload the project .