I just updated the c# version of the CslaSrd project in the CslaContrib project.
Unfortunately, I placed the new version in a sub-directory of the old version.
I don't know how to fix it with the tools and/or permissions that I have.
Can you move the contents of CslaContrib\CSharp\CslaSrd\CslaSrd to CslaContrib\CSharp\CslaSrd?
Or let me know how?
Thanks!
PS - take a look at the public Rules property and BrokenRules property of RuleBusinessBase.
You can use an existing business object class to test it, just change references from Csla.Validation.CommonRules to CslaSrd.Validation.StdRules.
Of course, your custom rules won't have been coded with the error messages the same way I did it, but the standard rules should work as is. It's an easy fix to make custom rules compatible.
I don't think it is a permission thing - it is a TFS feature thing.
I'll contact a couple friends who know more about TFS and see what they suggest - but it appears to me that the answer is to
Obviously this will lose any history. Let me see what others think.
Actually, looking at this a bit further - there are already files by those names in the target directory. So even if the Move option was available we'd be in trouble due to a conflict there.
I think you are going to have to delete those files and get your working directory in order, then re-add them, otherwise how are you going to merge any file changes and make sure the csproj file is correct, etc?
OK, got it figured out with some help from Brian Randell.
The deal is this: you can move folders and you can move single files. You can't move groups of files.
Obviously you can't move a folder into its parent, so moving folders won't help you here.
Instead, you'll have to move each file, one at a time. And while you are at it, the files that already exist in the parent directory are ones you can't move, because you need to merge the contents of the two files. You can do that in VS or a text editor or whatever.
Shoot, I didn't say how to move them.
In the Source Control Explorer you can right-click on a file and there's a Move menu option.
Copyright (c) Marimer LLC