次の方法で共有


MSB8004診断コード

この記事では、MSB8004エラー コードについて説明します。

メッセージ テキスト

MSB8004: *property* Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the *property* Directory.

説明

このエラーは、中間ディレクトリまたは出力ディレクトリが末尾の円記号で終わらない場合に発生します。

解決策

構成の指定したパスに、末尾の円記号 (\) を追加します。 これらのパスの 出力ディレクトリ中間ディレクトリ のプロパティは、プロジェクトのプロパティで設定できます。 詳細については、「 全般プロパティ ページ (プロジェクト)」を参照してください。

対象

MSBuild のすべてのバージョン