开发者

DevExpress - windows forms application1 has encountered a problem and needs to close?

I've playing around with Dev开发者_如何转开发Express gauges. Works fine on my computer, yet when I build the .exe file and give it to someone, his computer shows "windows forms application1 has encountered a problem and needs to close".

Any ideas what might be causing it? Thanks!


There's a variety of reasons why this could be happening.

1) .NET framework isn't installed correctly or the version you developed the application does not match the end machine .NET version.

2) DevExpress puts the assemblies on your Global Assembly Cache. The application running on the end machine must a way to find these assemblies.

In this case you have 2 choices:

  1. Place the DevExpress DLLs you are referencing in the same directory the application is running (recommended)
  2. Install DevExpress / Copy the DLLs to GAC on the end machine
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜