Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Get/set project-level config/platform at the solution level
johnmwright
#1 Posted : Wednesday, July 20, 2016 1:42:18 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 9/27/2011(UTC)
Posts: 45
Location: Chicago, IL

Thanks: 3 times
Was thanked: 7 time(s) in 6 post(s)
Is there a way to define the config/platform at the solution level instead of configuring each project? I have some solution files that use non-standard configurations and don't define a default in the msbuild (.*proj) files, so I'm having to set the configuration and platform on each project. It would be great if I could set those at the solution tier -- or even better, if NCrunch could read the configurations defined in the .sln and let me choose which one to use and apply the corresponding config/platform settings for each project in the solution.
Remco
#2 Posted : Wednesday, July 20, 2016 11:36:13 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi, thanks for posting.

At the moment, there isn't any built in feature that will let you do this. However, the new config engine currently in development is expected to allow you to set config settings at different levels (i.e. global, solution, project) and have them inherit downwards.

You might find it useful to create a shared build file imported by all your projects in this solution. You can then use this file for creating your own custom targets, or overriding build properties in a global fashion. In my experience, a solution-wide import used by all projects is one of those things that tends to become useful in all sorts of unexpected ways as you continue development.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.021 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download