private static string CalculateProjectRuleSetFullPath(ISolutionRuleSetsInformationProvider ruleSetInfoProvider, Project project, RuleSetDeclaration declaration)
{
string projectRuleSet;
if (!ruleSetInfoProvider.TryGetProjectRuleSetFilePath(project, declaration, out projectRuleSet))
{
// Use the original property value to attempt to load the rule set with the directories information, during FindConflicts
projectRuleSet = declaration.RuleSetPath;
// We do want to continue and add this rule set rather than skip over it since it maybe the case that
// the user moved it to some other location which is relative to the rule set directories property
// and we will be able to find it during rule set conflicts analysis.
}
return projectRuleSet;
}