Reputation: 471
I'm worikng on a winforms
application which uses DevExpress
controls.
It was fine on development computers but when i try to deploy the applicaiton on a customer computer it does not work because i guess it can't load devexpress
dlls.
Even i make all the dll's on properties->publish->application files as include, it didn't work.
Then i installed Devexpress
components on target computer and it started to work. How can i make the application work on customer computers without installing devexpress component library
?
Upvotes: 2
Views: 5217
Reputation: 513
If you're just copying your application from the bin folder then just find the DevExpress dll's under "References" in your solution and change the property "CopyLocal" to "true".
Upvotes: 0
Reputation: 6026
You mentioned that you marked them in Properties -> Publish -> Application Files. For the most part, the files will be marked included, but there are some that might say "Prerequisite (Auto)" and you'll have to explicitly mark them as Include. In the example screenshot below, you would have to change the DevExpress.SpellChecker from Prerequisite to Include:
You may also want to check the "Show all files" checkbox in that same dialog and see if there are any listed not explicitly marked as Excluded.
Finally, when your application fails on the client computer, the exception details should contain the name of the missing component and that should give you a big clue.
Upvotes: 7
Reputation: 5163
In your DevExpress installation Folder is a Subfolder Bin\Framework. You have do deploy the dll you use in your Application with it.
Edit: you should also consider the comment of Adriano
Upvotes: 0