0

I'm developing a small WinForms program for home use - I have no intentions to releasing it anywhere.

Running it on my development machine, where I have Visual Studio and .NET and whatever else installed, works but deploying it on my PC, where I might not have all those frameworks, doesn't. I'm using some library written in C++ so I'm assuming I'm going to need some version of Visual C++ Redistributable, but I'm not sure which? And I'm not sure if that would be all. So, how can I determine an application's software prerequisites?

I used Dependency Walker and I got a message IEHIMS.DLL - Error opening file. The system cannot find the file specified (2), but that's all I could make out; there is so much information I'm having trouble make sense of it all. Besides, according to a quick google, IESHIMS.DLL has something to do with Internet Explorer, so it shouldn't really matter.

Thanks in advance to anyone taking to the time to consider my question.

Kind regards

4

1 に答える 1

1

フレームワークの場合、プロジェクトのプロパティ -> 発行 -> 前提条件に移動して、アプリケーションの前提条件を設定できます。そのため、必要なフレームワークが展開マシンにインストールされていない場合、セットアップでインストールが求められます。

ここで、使用している他の dll については、これらの dll をプロジェクトの bin フォルダーにコピーし、セットアップの作成中にファイルを追加します。これで問題は解決します。

于 2012-02-15T08:27:17.247 に答える