I would like to support .NET 3.0 and .NET 4.0 for my project.
My current solution is to have two project files – one for each version of .NET.
Is there a better / more convenient way?
I would like to support .NET 3.0 and .NET 4.0 for my project. My
Share
See my answer to this question: Build System for Targeting Multiple .NET Versions
The short answer is that there isn’t an easy way to do this. The best I’ve found is to use separate projects (with #define’s set up appropriately) and use “Add as Link” to share code.