views:

327

answers:

1

I've got a shiny new laptop with the latest Dev tools installed such as Visual Studio 2010.

Now I've got a task to build a C++ CLR app targeting the 2.0 runtime (this is well outside my comfort zone). So I've specifed the v90 Platform Toolset but when I build I get:-

error MSB8010: Specified platform toolset (v90) requires Visual Studio 2008. Please make sure that Visual Studio 2008 is installed on the machine.

Seriously, do I really need to install 2008 as well? Is there some way round this, such as just copying in some folders from a 2008 install?

If not just how much of the VS 2008 installation do I need?

+1  A: 

Part of the problem is that VS2010 redid how compiling in c++ (cli or not) works. It now uses the MSBuild structure but I believe what you are trying to do will need the VCBuild framework that is not in 2010.

You may be able to get away with using the Visual Studio 2008 express to build. If not you should only need the c++ portion of VS2008.

Do you need to use the vc90 target though? I build my c++/cli (still new myself) with the vc10 target and it builds fine. (however i am targeting the 4.0 framework referencing some 2.0 portions)

JMcCarty
The resulting dll needs to operate in an existing 2.0 runtime environment.
AnthonyWJones