How can I define project OutputPath in a solution file?
<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>
Alternatively, I think I could use a custom project property.
<OutputPath>$(SolutionOutputPath)\Debug\</OutputPath>
But I don't know how define custom project properties in a solution file. I was trying something like:
Project(...) = ...
ProjectSection(ProjectProperties) = preProject
OutputPath = "C:\Test\Bin"
EndProjectSection
EndProject