2017-04-12 18 views
0

私はVS2017で私のC#のWinFormsプロジェクトをビルドするとき、私はツール - >オプション - >プロジェクトおよびSolutions-を使用して、詳細に冗長性を設定することができますどこ私が見つけた次の警告C#プロジェクトにビルドログファイルが必要ですか?

Found conflicts between different versions of the same dependent assembly 
that could not be resolved. 
These reference conflicts are listed in the build log when log verbosity is 
set to detailed.  

を得る>

をビルドして実行

本当にビルドファイルが必要ですか?冗長性を変更すると、出力ウィンドウに詳細情報が表示されるためですか?

もしそうなら、私はそれを見つけることができますか?

出力ウィンドウ状態

3>Building with tools version "15.0". 
3>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="15.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=293424. 
3>Target "_CheckForInvalidConfigurationAndPlatform" in file "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets" from project "C:\devvm\git\SBD.JobTalk.MyobApi\MYOBAPITests\MYOBAPITests.csproj" (target "BeforeRebuild" depends on it): 
3>Task "Error" skipped, due to false condition; ('$(_InvalidConfigurationError)' == 'true') was evaluated as ('' == 'true'). 
3>Task "Warning" skipped, due to false condition; ('$(_InvalidConfigurationWarning)' == 'true') was evaluated as ('' == 'true'). 
3>Using "Message" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 
3>Task "Message" 
3> Configuration=Debug 
3>Done executing task "Message". 
3>Task "Message" 
3> Platform=AnyCPU 
3>Done executing task "Message". 
3>Task "Error" skipped, due to false condition; ('$(OutDir)' != '' and !HasTrailingSlash('$(OutDir)')) was evaluated as ('bin\Debug\' != '' and !HasTrailingSlash('bin\Debug\')). 
3>Task "Error" skipped, due to false condition; ('$(BaseIntermediateOutputPath)' != '' and !HasTrailingSlash('$(BaseIntermediateOutputPath)')) was evaluated as ('obj\' != '' and !HasTrailingSlash('obj\')). 
3>Task "Error" skipped, due to false condition; ('$(IntermediateOutputPath)' != '' and !HasTrailingSlash('$(IntermediateOutputPath)')) was evaluated as ('obj\Debug\' != '' and !HasTrailingSlash('obj\Debug\')). 
3>Done building target "_CheckForInvalidConfigurationAndPlatform" in project "MYOBAPITests.csproj". 

答えて

0

で見てください、私は実際に情報を使用して私の問題を解決するために管理しました出力ウィンドウが表示されるので、IDE内からビルドする場合は、ログファイルの場所を特定する必要はありません。つまり、出力ウィンドウはログファイルと同じくらい多くの情報を提供します。

+2

デフォルトでは、IDEからビルドするとログファイルに出力されません。 MSBuildや他のコマンドラインビルドメソッドからビルドするときにのみ行います。設定でのログファイルの冗長性のオプションがC++プロジェクトのログファイル用の理由です。 –

+0

冗長設定は、C#出力ウィンドウにも影響するようです。私は私の問題を解決するために冗長を必要と思った。私は私のdev pcに戻っているときに私はダブルチェックします。 –

関連する問題