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

Notification

Icon
Error

Rename *.crunchsolution.local.xml to *.crunchsolution.user
Der-Albert.com
#1 Posted : Tuesday, May 31, 2011 8:44:19 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 175

Thanks: 8 times
Was thanked: 38 time(s) in 35 post(s)
Hi,

SolutionName.crunchsolution.local.xml is clearly a user specific file, the convention for User Specific Configuration Information additional to Visual Studio Solution and Visual Studio Project is that the file is ended with .user and not .local.xml

With that convention it is easy to exclude user specific configuration in the version control system (*.user). With "your" convention, it is not ;)

Best Regards

PS: If you have project specific user files, please follow the same convention.
Remco
#2 Posted : Wednesday, June 1, 2011 6:18:31 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,970

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Hi Der-Albert -

This does make sense - although there is a hidden reason behind the .local convention :)

When originally designing the configuration system, I went into it with the intention that it could be possible to have 'shared' settings and 'local' settings. Each of these could be stored in separate files, so that the shared settings could be placed under source control and the local settings left on a VCS ignore list somewhere.

It hasn't happened yet ... and likely it won't any time soon. But when it does, I was trying to save everyone from needing to rename or lose all their configuration files :)

I guess this could always be done with a .user extension anyway ... perhaps .local.user. Though for projects I've worked on, I've found it useful to have the configuration files checked into VCS as other people on the team find them helpful. Likely this will depend entirely on the team/project you are working with.
Der-Albert.com
#3 Posted : Wednesday, June 1, 2011 10:05:57 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 175

Thanks: 8 times
Was thanked: 38 time(s) in 35 post(s)
Shared Settings

SolutionName.ncrunch
ProjectName.ncrunch

User Settings

SolutionName.ncrunch.user
ProjectName.ncrunch.user

VS does this, ReSharper does this, other Software does this.
Remco
#4 Posted : Wednesday, June 1, 2011 12:43:00 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,970

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Fair enough - I'll see what I can do :)
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.034 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download