-1

私は C# プロジェクトを生成some.dllし、多数の DLL を参照しています。そのうちの 1 つは のSystem.ComponentModel.Composition.dll下にありC:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0ます。

some.dll私は Windows XP システム上で構築および展開しました。これを使用するアプリケーションsome.dllは正常に動作します。System.ComponentModel.Composition.dllしかし、Windows XP システムで下を探してみると、C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0見つかりませんでした。

アプリケーションがどのように適切に実行されているかを理解したいだけです。

理解したい理由は、別のシステムで を構築し、some.dll別の Windows XP システムに展開したからです。アプリケーションを起動しようとすると、次のエラーでアプリケーションがクラッシュします。

Exception ::Could not load file or assembly 'System.ComponentModel.Composition.resources, Version=4.0.0.0, Culture=en-NZ, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
4

1 に答える 1