I'm facing a compatibility issue for .NET project. I have 2 projects:
- 1st project: Libary project. Target: windows Phone 7.0 OS version project
- 2nd project: Console Appplication project. Refers/use the previous library. Target: Framework .NET 3.5
When I try to run the 2nd project, I have an exception that happens when I call a function from the 1st library:
...Could not load file or assembly 'System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7xxxxxxxx or one of its dependencies. The system cannot find the file specified...
If I change the target for 2nd project to Framework .NET 4.0, it works well, no more crash.
Is my error really due to the different target versions ? How can I make the 1st project to be compatible with framework 3.5 ?