Home » excel » c# – xll work only on build computer

c# – xll work only on build computer

Posted by: admin May 14, 2020 Leave a comment

Questions:

I create *.xll with XLW lib. But it work only on build computer. If i rebuild my project on other computer xll work on it, but not my computer. Anybody have idea from this problem.

How to&Answers:

This sounds like a classic case of you needing to deploy the runtime libraries of your tools to the machines which run the software. Your dev machines will have the necessary runtimes already. Exactly how to do that depends on which compiler you are using. The quick and dirty approach would be to link statically to the runtime.

Answer:

If you use http://xll.codeplex.com the default is to link with static libraries. Should work on any machine.