开发者

Problem using Managed C++ (.Net 2.0) in .Net 2.0 project in VS2010. Referencing 4.0 .NET functionalities

开发者 https://www.devze.com 2023-04-05 16:59 出处:网络
I have exactly the same problem asked here. Problem using Managed C++ (.Net 2.0) in .Net 2.0 project in VS2010.

I have exactly the same problem asked here.

Problem using Managed C++ (.Net 2.0) in .Net 2.0 project in VS2010.

Basically I have a C++/CLI project in .NET 2.0 and it indirectly references some 4.0 version dll via MFCMIFC80.开发者_开发百科DLL.

The only solution the person found was to delete MFCMIFC80.DLL.

How safe is that? Is there any other way to do this?


Solution:

The C++ project was using the v100 Platform toolset. This makes it depend on 4.0 .NET versions of some libraries. Changing the toolset to v90 solves the problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消