I am using Visual Studio 2010. Let`s say I have three projects in a solution:
MainProject
DependentA
DependentB
MainProject
is my start up project and DependentA
and DependentB
are referenced to it. The build mode is set to Debug
. Then I create a custom solution configuration Test
and select it.
Now Visual studio sets the build option for DependentA
and DependentB
to Release automatically.
What I want to accomplish is to set some condidions. For example if Test
configuration is selected build the DependentA
and DependentB
in Debug
mode. I am quite new in this area but I suppose I can set some condition in the csproj file as it is done in this question:
Any help with some example will be greatly appreciated. Thanks!
Have you used the Build Configuration Manager to select the desired project build configurations for the Test solution configuration? It's not clear from your question whether you're looking for anything more complicated than that.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.