public static string HintLocation(this ResharperAssemblyReference assemblyRef)
        {
#if v600 || v610
            return(assemblyRef.ReferenceTarget.HintLocation.FullPath);
#else
            return(assemblyRef.HintLocation.FullPath);
#endif
        }
        public static void RemoveAssemblyReference(this  resharper::JetBrains.ProjectModel.IProject project, ResharperAssemblyReference assembly)
        {
            
#if v600 || v610
            var projectImpl = project as resharper::JetBrains.ProjectModel.Impl.ProjectImpl;
            if (projectImpl == null) return;
            projectImpl.DoRemoveReference(assembly);
#else
            project.RemoveModuleReference(assembly);
#endif
        }
        public static void RemoveAssemblyReference(this  resharper::JetBrains.ProjectModel.IProject project, ResharperAssemblyReference assembly)
        {
#if v600 || v610
            var projectImpl = project as resharper::JetBrains.ProjectModel.Impl.ProjectImpl;
            if (projectImpl == null)
            {
                return;
            }
            projectImpl.DoRemoveReference(assembly);
#else
            project.RemoveModuleReference(assembly);
#endif
        }