xsp4 で Web サイトをテストしようとしています。すべてのアセンブリは、ターゲット フレームワーク 4.5 用にコンパイルされています。次のスタック トレースを取得します。TraceManager の初期化中の例外:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Web.Configuration.TraceSection ---> System.MissingMethodException: Method not found: 'System.Configuration.ConfigurationProperty..ctor'.
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
ここで stackoverflow (およびその他の場所) を検索すると、xsp4 が mono の 4.0 ディレクトリ内で実行されることが考えられる理由であることがわかりました。私のものはすでに 4.5 にあり、xsp スクリプトで使用されているため、これで立ち往生しています。何か案は?