Which version of .NET Framework will be required for project?

I have two projects in my solution, eg Project1 and Project2. Project1 targets .NET Framework 2.0, and Project2 targets .NET Framework 3.5. Project1 has no references to Project2, the purpose of Project2 is to use the .exe file it generates in post-build of Project1. However, when I try to run Project1.exe on a machine with .NET Framework 2.0 it says that it needs .NET 3.5 to run. Is is because Project2 is in the same solution as Project1? If it is, are there any ways of resolving this apart form changing the target framework for Project2? Thanks!


If your project1 uses exe build in project2 which is targeted to .net 3.5 its simple that 3.5 is needed

if You want to change target for Project2 check this link: Click Here


也许你在project1里面使用需要.net 3.5的库?

链接地址: http://www.djcxy.com/p/53672.html

上一篇: Compact Framework的Zip库选项?

下一篇: 项目需要哪个版本的.NET Framework?