0

.net 標準 2.0 ライブラリを使用して Windows アプリを UWP にアップグレードしました。アプリが完成し、リリース ビルドを作成しようとしていますが、ビルドに時間がかかり、最終的には以下のエラーを含む 138 エラーでクラッシュします (スクリーンショットを参照)。ビルドをデバッグし、問題なく実行します。VS 2017 15.8.7 を使用しています。これで何時間も時間を無駄にしていますが、これを修正する方法について何か提案はありますか?

Method 'DynamicObjectTypeBuilder.BuildFormatterToDynamicMethod(Type, bool, bool, bool)' will always throw an exception due to the missing method 'DynamicMethod..ctor(string, Type, Type[], Type, bool)' in assembly 'System.Reflection.Emit.Lightweight'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.        

ここに画像の説明を入力

4

1 に答える 1