1
Vote

Dynamic content loading doesn't work in DLL

description

When I compile the XNA Content Tracker to a DLL, and reference that DLL in my Windows game (yes, I did choose the "x86" DLL, not the "xbox" one - I am running on a 64-bit machine, could that break anything?), the dynamic content loading feature doesn't work; I get an error saying that the file can't be found, in the content tracker code. The odd thing is, the #if WINDOWS in the content tracker code (line 187) seems to be evaluating to false, skipping the "magic" part, as the code there is grayed out, even though WINDOWS is defined both in the DLL and in my game! The sample game works just fine, though - is there something special about placing the actual code in my solution, as opposed to creating a DLL?

comments