I am trying to improve the StyleCopForResharper plugin by loading the defaults for CodeCleanUp from a Settings.StyleCop file that can be found as part of the project.
I already have a method that given a project / solution or directory, finds that file.
For that I need in method:
public void SetDefaultSetting(CodeCleanupProfile profile, CodeCleanup.DefaultProfileType profileType)
to be able to get an instance of IProjectFile .
Is that possible ?
If not is there other way I can get the current directory of the project / solution that's loaded ?