Do you guys have any information why that is and how to fix it?
Visual Studio 2010 with .net mf 4.1 and 3, GHI sdk 4.1, previously uninstalled the GHI 3.0 sdk.
Also, the project was originally made with the 3.0 sdk. As far as I remember, I simply reopened the project and tried to build after installing the 4 sdk, and it just automagically compiled for 4. But as you can see, I can not choose target framework.
I think I have managed to rebuild for the 3.0 version by manually editing the following line in the csproject file.
v3.0
When i then reloaded the project, it seemed all build settings and even the conditional compilation symbols were changed to 3.0 equivalents.
I would still like to know how I “fix” my project or installation to give me the choice through Visual studio, instead of manually editing my project files.
When we now take the DLL compiled for v3.0 - compiled in VS2010,
and copy it to the PC with VS2008 and only the 3.x runtime we get an error during compile.
The error from the MetaDataProcessor is:
MMP: error MMP0000: CLR_E_PARSER_UNSUPPORTED_GENERICS
This is when the parameters to the MetaDataProcessor is -loadHints (Load a specific file as a dependency)
Strangly enought VS2010 will compile source code for the 3.x runtime even if it contains Generics. The problem will be identified at link time, but there is no help in the error message to pinpoint the problem.