GrapeCity MultiRow for Windows Forms 10.0J
アセンブリ

MultiRowのバージョン管理ポリシーとアセンブリの関係について説明します。

バージョン管理とアセンブリ
.NET Frameworkには、厳密なアセンブリ識別機構が盛り込まれており、Visual Studioで作成した実行ファイルやアセンブリは、それらが依存するアセンブリを名前とバージョンおよびその他の情報を使って判別します。

この仕組みは、DLL Hellを解消するためのもので、間違ったバージョンのアセンブリを参照することによる誤動作を避け、本来のバージョンのアセンブリを確実に参照することを目的としています。この機構により、Visual Studioで作成した実行ファイルやアセンブリは、それらが依存するアセンブリと同名のアセンブリが存在していても、アセンブリバージョンが一致しなければ動作しません。

バージョンの確認

プロジェクトで使用しているアセンブリのアセンブリバージョンとファイルバージョンは以下の手順で確認できます。

  1. Visual Studioを起動し対象となるプロジェクトを開きます。
  2. フォームの[デザイン]ページでGcMultiRowのコントロールを選択します。
  3. プロパティウィンドウで[バージョン情報]のリンクをクリックしてください。
  4. 表示されたダイアログの「製品の詳細情報:」にバージョンが表示されます。

アセンブリ

依存関係にあるアセンブリを正しく動作させるには、それらのアセンブリバージョンが互いに適合していることが必要です。たとえば、GrapeCity.Win.MultiRow.v100.dllとGrapeCity.Win.MultiRow.Design.v100.dllは、互いに関連しています。そのため、これらのアセンブリバージョンとファイルバージョンは揃える必要があります。
また、InputManCellおよびPlusPakCellを使用するには、依存関係にあるInputManおよびPlusPakのアセンブリバージョンを参照する必要があります。次の一覧は、InputManCellおよびPlusPakCellを使用するために必要なMultiRowとInputManおよびPlusPakのアセンブリバージョンの組み合わせです。

MultiRow for Windows Forms 10.0J 初版

更新日 ファイル名 アセンブリ ver. ファイル ver.
MultiRow for Windows Forms 10.0J 初版
2017年7月26日 GrapeCity.Framework.MultiRow.v24.dll 2.4.4000.2012 2.4.4000.2012
GrapeCity.Win.MultiRow.Design.v100.dll
GrapeCity.Win.MultiRow.v100.dll
10.0.4000.2012 10.0.4000.2012
InputMan for Windows Forms 10.0J 初版
2017年7月26日 GrapeCity.Framework.InputMan.v24.dll 2.4.4000.2012 2.4.4000.2012
GrapeCity.Win.Editors.v100.dll 10.0.4000.2012 10.0.4000.2012
PlusPak for Windows Forms 10.0J 初版
2017年7月26日 GrapeCity.Framework.PlusPak.v24.dll 2.4.4000.2012 2.4.4000.2012
GrapeCity.Win.PlusPak.Calendar.v100.dll
GrapeCity.Win.PlusPak.v100.dll
10.0.4000.2012 10.0.4000.2012

MultiRow for Windows Forms 10.0J SP1

更新日 ファイル名 アセンブリ ver. ファイル ver.
MultiRow for Windows Forms 10.0J SP1
2017年12月14日 GrapeCity.Framework.MultiRow.v24.dll 2.4.4001.2012 2.4.4001.2012
GrapeCity.Win.MultiRow.Design.v100.dll
GrapeCity.Win.MultiRow.v100.dll
10.0.4001.2012 10.0.4001.2012
InputMan for Windows Forms 10.0J SP1
2017年12月14日 GrapeCity.Framework.InputMan.v24.dll 2.4.4001.2012 2.4.4001.2012
GrapeCity.Win.Editors.v100.dll 10.0.4001.2012 10.0.4001.2012
PlusPak for Windows Forms 10.0J SP1
2017年12月14日 GrapeCity.Framework.PlusPak.v24.dll 2.4.4001.2012 2.4.4001.2012
GrapeCity.Win.PlusPak.Calendar.v100.dll
GrapeCity.Win.PlusPak.v100.dll
10.0.4001.2012 10.0.4001.2012

MultiRow for Windows Forms 10.0J SP2

更新日 ファイル名 アセンブリ ver. ファイル ver.
MultiRow for Windows Forms 10.0J SP2
2018年6月27日 GrapeCity.Framework.MultiRow.v24.dll 2.4.4002.2012 2.4.4002.2012
GrapeCity.Win.MultiRow.Design.v100.dll
GrapeCity.Win.MultiRow.v100.dll
10.0.4002.2012 10.0.4002.2012
InputMan for Windows Forms 10.0J SP2
2018年6月27日 GrapeCity.Framework.InputMan.v24.dll 2.4.4002.2012 2.4.4002.2012
GrapeCity.Win.Editors.v100.dll 10.0.4002.2012 10.0.4002.2012
PlusPak for Windows Forms 10.0J SP2
2018年6月27日 GrapeCity.Framework.PlusPak.v24.dll 2.4.4002.2012 2.4.4002.2012
GrapeCity.Win.PlusPak.Calendar.v100.dll
GrapeCity.Win.PlusPak.v100.dll
10.0.4002.2012 10.0.4002.2012

MultiRow for Windows Forms 10.0J SP3

更新日 ファイル名 アセンブリ ver. ファイル ver.
MultiRow for Windows Forms 10.0J SP3
2019年4月17日 GrapeCity.Framework.MultiRow.v24.dll 2.4.4003.2012 2.4.4003.2012
GrapeCity.Win.MultiRow.Design.v100.dll
GrapeCity.Win.MultiRow.v100.dll
10.0.4003.2012 10.0.4003.2012
InputMan for Windows Forms 10.0J SP3
2019年4月17日 GrapeCity.Framework.InputMan.v24.dll 2.4.4003.2012 2.4.4003.2012
GrapeCity.Win.Editors.v100.dll 10.0.4003.2012 10.0.4003.2012
PlusPak for Windows Forms 10.0J SP3
2019年4月17日 GrapeCity.Framework.PlusPak.v24.dll 2.4.4003.2012 2.4.4003.2012
GrapeCity.Win.PlusPak.Calendar.v100.dll
GrapeCity.Win.PlusPak.v100.dll
10.0.4003.2012 10.0.4003.2012

MultiRow for Windows Forms 10.0J SP4

更新日 ファイル名 アセンブリ ver. ファイル ver.
MultiRow for Windows Forms 10.0J SP4
2019年7月25日 GrapeCity.Framework.MultiRow.v24.dll 2.4.4004.2012 2.4.4004.2012
GrapeCity.Win.MultiRow.Design.v100.dll
GrapeCity.Win.MultiRow.v100.dll
10.0.4004.2012 10.0.4004.2012
InputMan for Windows Forms 10.0J SP4
2019年7月25日 GrapeCity.Framework.InputMan.v24.dll 2.4.4004.2012 2.4.4004.2012
GrapeCity.Win.Editors.v100.dll 10.0.4004.2012 10.0.4004.2012
PlusPak for Windows Forms 10.0J SP4
2019年7月25日 GrapeCity.Framework.PlusPak.v24.dll 2.4.4004.2012 2.4.4004.2012
GrapeCity.Win.PlusPak.Calendar.v100.dll
GrapeCity.Win.PlusPak.v100.dll
10.0.4004.2012 10.0.4004.2012

MultiRow for Windows Forms 10.0J SP5

更新日 ファイル名 アセンブリ ver. ファイル ver.
MultiRow for Windows Forms 10.0J SP5
2020年4月7日 GrapeCity.Framework.MultiRow.v24.dll 2.4.4005.2012 2.4.4005.2012
GrapeCity.Win.MultiRow.Design.v100.dll
GrapeCity.Win.MultiRow.v100.dll
10.0.4005.2012 10.0.4005.2012
InputMan for Windows Forms 10.0J SP5
2020年2月25日 GrapeCity.Framework.InputMan.v24.dll 2.4.4005.2012 2.4.4005.2012
GrapeCity.Win.Editors.v100.dll 10.0.4005.2012 10.0.4005.2012
PlusPak for Windows Forms 10.0J SP5
2020年2月25日 GrapeCity.Framework.PlusPak.v24.dll 2.4.4005.2012 2.4.4005.2012
GrapeCity.Win.PlusPak.Calendar.v100.dll
GrapeCity.Win.PlusPak.v100.dll
10.0.4005.2012 10.0.4005.2012

MultiRow for Windows Forms 10.0J SP6

更新日 ファイル名 アセンブリ ver. ファイル ver.
MultiRow for Windows Forms 10.0J SP6
2021年7月28日 GrapeCity.Framework.MultiRow.v24.dll 2.4.4006.2012 2.4.4006.2012
GrapeCity.Win.MultiRow.Design.v100.dll
GrapeCity.Win.MultiRow.v100.dll
10.0.4006.2012 10.0.4006.2012
InputMan for Windows Forms 10.0J SP6
2021年7月28日 GrapeCity.Framework.InputMan.v24.dll 2.4.4006.2012 2.4.4006.2012
GrapeCity.Win.Editors.v100.dll 10.0.4006.2012 10.0.4006.2012
PlusPak for Windows Forms 10.0J SP6
2021年7月28日 GrapeCity.Framework.PlusPak.v24.dll 2.4.4006.2012 2.4.4006.2012
GrapeCity.Win.PlusPak.Calendar.v100.dll
GrapeCity.Win.PlusPak.v100.dll
10.0.4006.2012 10.0.4006.2012

  • 上記のアセンブリバージョンの組み合わせで使用する場合は、アセンブリのバージョンを意識する必要はありませんが、作成したアプリケーションが配布先の環境で動作しない場合や、意図的にアセンブリを入れ替える場合は、プロジェクトが参照しているアセンブリのバージョンを確認してください。
インストールされているバージョンを確認する方法
Visual Studioを起動し、新規にWindowsアプリケーションを作成し、フォームにGcMultiRowコントロールを配置します。次に、GcMultiRowコントロールのコンテキストメニューから「バージョン情報」をクリックすると、現在使用されているMultiRowのバージョンを確認できます。
また、テンプレートを設定していないGcMultiRowコントロールと、MultiRowのデザイナのドキュメントウィンドウの右下にもMultiRowのバージョンが表示されます。
旧バージョンのInputMan、PlusPakとの併用

MultiRowでは、InputManCellとPlusPakCellを使用するため、GcMultiRowコントロールをフォームに追加した場合や、MultiRowテンプレートをプロジェクトに追加した場合などに、プロジェクトの参照設定にInputMan for Windows Forms 10.0JとPlusPak for Windows Forms 10.0Jのアセンブリを自動で追加します。

そのため、同一プロジェクト内でInputMan for Windows Forms 5.0J/6.0J/7.0J/8.0JやPlusPak for Windows Forms 5.0J/6.0J/7.0J/8.0Jのコントロールを使用している場合には、名前空間が同じ複数のバージョンのアセンブリを参照することになり、プロジェクトのビルド時にアセンブリ参照で名前空間の競合エラーが発生します。

この問題を回避し、同一プロジェクト内で、MultiRowと旧バージョンのInputMan for Windows Forms、PlusPak for Windows Formsを併用するには、以下の方法をご検討ください。

回避方法の詳細については、弊社Webサイトのナレッジベースに公開している「InputManとPlusPakの旧バージョン(5.0J/6.0J/7.0J/8.0J)と同一プロジェクト内で共存させる方法」 をご覧ください。 

参照

 

 


© 2008 GrapeCity inc. All rights reserved.