So I'm working on a project which is built in the version visual studio 2005 under the framework 2.0. Now I moved the project to the new version of the visual studio 2010 sp1 under the version and start to realize they are throwing this errors and warnings with the dependencies, for example
Warning 1 could not be resolved because it has a dependency on "System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".
Bring me the consequence that the application doesn't read the reference that I added, but changing the framework. .Net framework 4.0
the problem was solved. Testing I change them to .net framework 4.0 client profile
and I realized the build errors and warnings appear again.
Now my question it's why setting .net 4.0
work and not with the client profile
?? I need a good explanation because I'm not an expert in this part.