-1

I have a C# project in VS 2008. I changed target framework from 3.5 down to 2.0.I also have a set up project with net framework 2.0 required. But after installing program in another PC, i get an error:

System.IO.FileNotFoundException: Could not load file or assembly System.Core, version 3.5.0.0.. etc...

I don't understand why I change target framework to 2.0 and no importing System.Core in reference. But i import System.IO, is it problem? How can i use net framework 2.0. Thank for advances. Sorry because of my bad English.

4

2 回答 2

1

查看项目选项卡中的引用是否有 2.0 以外的任何版本:

去哪里看的例子

我假设您首先尝试在这里重新定位:

重新定位框架

于 2012-10-13T07:17:55.867 回答
0

System.Core 将不直接被 Framework 2.0 支持......

于 2012-10-13T07:21:49.657 回答