how to fix assembly references ...

| No Comments | No TrackBacks

tsukimiのアセンブリ参照を解決するのが一筋縄ではいかなくて困る。

Processing.Core.dllというアセンブリをProcessing.Importer.dllというインポータライブラリで参照しているのだけど、Processing.Core.dllが2.1のSystem.Windows.dllを参照していて、しかもリフレクション経由で単なる参照だけでなく呼び出しもしているため、実際にこのアセンブリが必要になる。しかし、moonlightの場合はビルドしたアセンブリが必要になるし(インストールされるのはxpiのみ)、SDKはまだ用意されていない。Windows/Silverlightにおいても、C#を使ってコマンドラインからSilverlightアプリケーションをビルドする方法が存在していない。

あれこれ考えて、とりあえずmoonlightのアセンブリをローカルに参照用としてコピーしてくればいいだろうと思ってやってみたら、今度は2.0.5.0のmscorlib.dllやSystem.dllが要求される。かといって、それらを置いてしまうと今度はインポータが2.0.5.0モードで実行されてしまい、Processクラスなどが使えなくなってしまう。

どうも2.1と2.0の混合ソリューションてのは筋が悪そうなので、2.1依存部分を切り離して書き直すしか無いかなあと思っている。

No TrackBacks

TrackBack URL: http://veritas-vos-liberabit.com/noteon/mt-tb.cgi/22

Leave a comment

About this Entry

This page contains a single entry by note on published on May 14, 2009 10:23 AM.

make VST portable to Linux was the previous entry in this blog.

tsukimi build is fixed is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Categories

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.23-en