Targetting different Frameworks using MSBuild gives problems with dependencies
问题 I have a little project, and I want to have 2 compiled versions of that project: one that is targetting the .NET 2.0 framework one that is targetting the .NET 3.5 framework All is going well; I've put my project under continuous integration (using CC.NET), and I've created 2 CC.NET 'projects'. One project for each target-framework. I won't go too much in (irrelevant) details, but my solution is set up to target the .NET 3.5 framework in VS.NET. I have 2 msbuild-tasks: one task that builds the