Exemplo n.º 1
0
        public void SdkInstaller_Test()
        {
            Assert.Inconclusive("Manual verification required.");

            SdkInstaller installer = new SdkInstaller();

            installer.Install(null);
            installer.Uninstall(null);
        }
Exemplo n.º 2
0
        private void LaunchOrDownloadInstaller()
        {
            ToolsPathInfo.ToolsRootPath = info.Path;
            ToolsPathInfo.IsDirty       = true;
            OnToolsDirChanged?.Invoke(info.Path);
            installer = new SdkInstaller();

            if (installer.IsDownloadNeeded())
            {
                installer.StartDownload(OnUpdateDownloadProgress, OnDownloadComplete);
            }
            else
            {
                OnDownloadComplete(null, null);
            }
        }