XNA libraries

I created an animation component, and it works fine on my computer, and on my friends computer, but he had compiled the source into a DLL. My question is, what would prevent a distributed dll from working in XNA? Shouldn't I be able to just compile the source and hand the dll out to clients? I know this is a broad question - but I'm sort of bewildered.
[356 byte] By [leclerc9] at [2007-12-26]
# 1
Assuming it's managed code, there shouldn't be much to prevent it from working in XNA. Assuming you want it to run on the 360, you have to make sure you're using code that's available on the 360. Theoretically, yes, you should be able to just compile it into a DLL and distribute it to people.
JimPerry at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...
# 2
Distributing a compiled DLL should work just fine.
ShawnHargreaves-MSFT at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...
# 3

When you say it works fine on your computer, do you mean you reference the library in a separate project? Or do you mean it works fine with an executable StartUp project? Also, you seem to be saying it works fine on your friends computer, while at the same time your question seems to imply it doesn't...

As an answer to your "broad" question, are you sure the appropriate classes have public access levels?

By default, when adding a new item to a project, the access level is private and therefor will not be visible outside the library or StartUp project:

class Class1 {}

If necessary, it should be:

public class Class1 {}

Otherwise, please try to be a little more specific.

GregChristensen at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...
# 4
I compiled it into a dll, then made a project which uses the dll, and ran the project (it worked fine). Then I zipped the project and posted it on the codeplex site (http://www.codeplex.com/Project/FileDownload.aspx?ProjectName=animationcomponents&DownloadId=4021), and it apparently doesn't work on other computers.
leclerc9 at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...
# 5

"didn't work" - does really help us - is there an error/exception?

99% of the time this is usually missing dependencies or assumptions about file paths for resources. Using filemon form http://www.sysinternals.com can help diagnose there as you can watch the files that it looks for and fails to find.

TheZMan at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...
# 6
In addition to what ZMan said, how was the person using it? I'm assuming they had GSE installed and working already?
JimPerry at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...