Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
エラーが発生する
混合モード アセンブリは、ランタイムのバージョン 'v2.0.50727' に対してビルドされており、追加の構成情報がないと 4.0 ランタイムに読み込むことができません。
何をすればよいでしょうか?
app.Config ファイルを追加し、useLegacyV2RuntimeActivationPolicy を true に設定する必要があります。
これは、.NET 4 アプリケーションで混合モードの CLR 2 アセンブリを使用するために必要です。