2017-08-01 55 views
1

app.configへのバインディングを追加せずにこの参照を修正する場所を特定するにはどうすればよいですか?私はApp.configファイルに結合を追加せずにこの参照を修正するかを決定するにはどうすればよいapp.configマッピングがないアセンブリのapp.config再マップを検討してください。

Consider app.config remapping of assembly "System.Runtime.Serialization.Primitives, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "4.1.1.0" [] to Version "4.1.2.0" [F:\Production\packages\System.Runtime.Serialization.Primitives.4.3.0\lib\net46\System.Runtime.Serialization.Primitives.dll] to solve conflict and get rid of warning. 12>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file:

+0

他の方法があります。 –

答えて

3

あなたは、詳細なエラーログを確認するために、「詳細」以上に「MSBuildのプロジェクトのビルド出力の冗長性」を変更しようとすることができます。これを行うにはツール - >オプション - >プロジェクトとソリューション - >ビルドと実行を実行します。 MSBuildプロジェクトビルド出力詳細レベル詳細以上を設定します。プロジェクトをビルドし、出力ウィンドウでエラーログをチェックアウトします。 MSB3247が発生したタスクであるResolveAssemblyReferencesタスクは、この特定の問題のデバッグに役立ちます。

enter image description here

そして、古いバージョンのプロジェクトに行き、正しい参照を追加し、その後、参照を削除しました。

関連する問題