What is the difference between Windows/Xna/Phone/Standard library?
I assume that each one has access to platform specific API. Is it possible to create a common denominator class library that has access to neither of the API, but in return works on all platforms?
I tried creating a standard c# class library targeted against 4.0 (client profile) that only references standard mscorlib and System. This works in a windows XNA project, but gives the following error in an Xbox XNA project:
Warning 3 The primary reference "Qua.Game, Version=1.3.3.30456, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0,Profile=Client". To resolve this problem, either remove the reference "Qua.Game, Version=1.3.3.30456, Culture=neutral, processorArchitecture=MSIL" or retarget your application to a framework version which contains "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".