private List <string> InstallCodeAnalysisPlugins()
        {
            var sources  = new[] { "https://resharper-plugins.jetbrains.com/api/v2/", "https://nuget.org/api/v2/" };
            var packages = new List <PackageInfo>();

            foreach (var p in m_PluginsSpecifiedInCommandLine)
            {
                var match = Regex.Match(p, @"\d+(\s*\.\s*\d+){0,3}$");
                if (match.Success)
                {
                    var version = match.Groups[0].Value;
                    packages.Add(new PackageInfo {
                        Id = p.Remove(p.LastIndexOf(version) - 1), Version = version
                    });
                }
                else
                {
                    packages.Add(new PackageInfo {
                        Id = p, Version = k_SdkVersion
                    });
                }
            }
            var installer = new NuGetPackagesInstaller(sources, m_PluginsInstallDir);

            return(installer.InstallPackages(packages));
        }
        private void InstallReSharperCommandLineTools()
        {
            var sources   = new[] { "https://nuget.org/api/v2/" };
            var installer = new NuGetPackagesInstaller(sources, m_BaseDir);

            var packages = new[]
            {
                new PackageInfo {
                    Id = "JetBrains.ReSharper.CommandLineTools", Version = k_SdkVersion
                },
            };

            installer.InstallPackages(packages);
        }