1

エラーが発生します

"aspnet_merge: error 1023: The assemblies cannot be merged because some assemblies have inconsistent attributes: System.Runtime.CompilerServices.ExtensionAttribute. Use -a option to force merge. Use -allowattrs to specify the attributes to skip when checking for consistency."

アセンブリをマージするとき。

以前に行ったことは、.Net Framework を変更せずに VS 2010 で VS 2008 ソリューションを開き (VS 2010 で .Net Framework を 4.0 に変更するように求められたときに [いいえ] を選択)、**missing compiler required member System.Runtime. CompilerServices. ExtensionAttribute..ctor**NewtonSoft dll バージョンを 2.0 から 3.5 に変更してこのエラーを解決することです。

プロジェクトを正常に公開した後、dll をマージする必要がありますが、上記のエラーが発生しています。別のバージョンの aspnet_merge (3.5/4.0) を既にチェックインしましたが、同じエラーが発生します。

同じために何をする必要があるか教えてください。

4

1 に答える 1