adding assembly to xsn

T

Tim Philomeno

I have a 3rd party assembly that I want to include in the .xsn to support my
form.

I make a reference to it and use it in code but when I look at the .xsn that
gets created, the .dll is not there..??

Thanks.

Tim Philomeno, Sparling, Inc.
 
F

Franck Dauché

Hi Tim,

After you add an assembly in references of your code behind, you have the
option (in the Properties window) to flag the "Copy Local" as True or False.
If you pick True, a copy of your DLL with be embedded in your XSN.
If you pick False, you will need to deploy your DLL in the GAC of your
machine for your XSN to access it.

Hope that it helps.

Regards,

Franck Dauché
 
T

Tim Philomeno

Franck,

That's exactly what I needed...I had forgotton about that little gem..

Thanks!

Tim Philomeno, Sparling, Inc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top