I faced a problem after converting a C# project from VS 2005 to VS 2013:
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5): warning MSB3268: The primary reference [assembly reference] could not be resolved because it has an indirect dependency on the framework assembly "System.Core" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference [assembly] or retarget your application to a framework version which contains [assembly]
This question has the same issue but the solution does not work for me (use of <SpecificVersion>true</SpecificVersion>
)
Result: The project does not compile any more (was no problem under VS 2005)
I don't know how to go on with this, so any hint is welcome...
EDIT
I want to stay with framework 2.0.
EDIT #2
The project references a third-party assembly that targets also 2.0