Visual Studio 2010 C++/CLI in Static Library Mode: could not find assembly 'mscorlib.dll'

前端 未结 5 649
一向
一向 2021-02-05 14:49

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

5条回答
  •  难免孤独
    2021-02-05 14:59

    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 .

提交回复
热议问题