ソリューションファイルでプロジェクトOutputPathを定義するにはどうすればよいですか?
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugUse|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath> <!-- this -->
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
または、カスタムプロジェクトプロパティを使用できると思います。
<OutputPath>$(SolutionOutputPath)\Debug\</OutputPath>
しかし、ソリューションファイルでカスタムプロジェクトプロパティを定義する方法がわかりません。私は次のようなことを試みていました:
Project(...) = ...
ProjectSection(ProjectProperties) = preProject
OutputPath = "C:\Test\Bin"
EndProjectSection
EndProject