Different platforms need different assemblies with the same name, for example of type "System" or "System.Data". Our library wants to support both xbox and Windows. Windows uses a different assembly for System stuff, than the .net compact framework assembly in Xbox.
Some code is only valid when assembly XYZ is loaded.
1. Is it possible to dynamically load the required assembly/ add a project reference based on what project configuration was selected?
2. Is it possible to successfully compile code that only works with assembly ABC loaded, even though ABC is currently not loaded/referenced. For example with preprocessor defines? (i tried #if(xbox) but that didnt prevent compiler errors)