是否可以将Visual Studio Community 2015轻松更新为Visual Studio Professional 2015 [英] Can Visual Studio Community 2015 be easily updated to Visual Studio Professional 2015

查看:156
本文介绍了是否可以将Visual Studio Community 2015轻松更新为Visual Studio Professional 2015的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在驱动器D:上安装了Visual Studio Community Edition 2015.

I have Visual Studio Community Edition 2015 installed on my drive D:.

我最近为我的C:驱动器安装了一个1TB的SSD,并想将VS移至该驱动器.长话短说;那是一场噩梦.尽管我可以卸载VS,但无法将其重新安装到D:以外的任何其他位置.经过三天的尝试,我放弃并重新安装回D:.我仍然无法正确安装它,并且某些东西已损坏".由于损坏"的模块安装,更新等未完全成功.我不想冒险再次在控制面板中运行修复"选项,因为这通常会使情况变得更糟(损坏更多的东西).这会导致几个小时的卸载和处理过程.重新安装.此问题显示了一些安装程序/卸载程序问题:

I recently got a 1TB SSD for my C: drive and wanted to move VS to that drive. Long story shortened; it was a nightmare. Although I could uninstall VS, I could not get it to reinstall in any other location except for D:. After three days of trying, I gave up and reinstalled back to D:. I still could not get it to install correctly and some things are "damaged". Updates, etc. do not completely succeed because of the "damaged" module installation. I do not want to risk running the "Repair" option in the control panel again because that often makes it worse (damages more things); which leads to a several hour process of uninstalling & reinstalling. This question shows some of the installer/uninstaller problems: Installation errors in repair of Visual Studio 2015 Community Edition on Windows 10

我现在正计划重新安装Windows 10 Pro,以清理此安装.

I am now planning on reinstalling Windows 10 Pro in order to clean up this install.

我打算最终获得Visual Studio Professional 2015.

I was planning on eventually getting Visual Studio Professional 2015.

从社区版"升级到专业"版会遇到类似的问题吗?

Will I have similar problems upgrading from "Community Edition" to the "Professional" version?

我希望打开一个对话框,键入许可证密钥,并使社区Editon"成为专业"版本.是否可能?或者完全卸载/重新安装此升级的工作方式?

I was hoping to open a dialog box, type in the license key and have the "Community Editon" become a "Professional" version. Is that possible or is a complete uninstall/reinstall how this upgrade would work?

推荐答案

(免责声明:我在Visual Studio 2015上工作,包括在Microsoft期间的部分安装经验)

(Disclaimer: I worked on Visual Studio 2015 including portions of the setup experience while at Microsoft)

可以,但是不像输入升级的产品密钥那么简单,您还需要媒体.

It can, but it isn't as simple as entering an upgraded product key, you also need the media.

购买/许可Visual Studio 2015 Professional或更高版本时,您将有权访问安装媒体,通常是ISO文件或vs_setup.exe Web下载器.挂载ISO映像并运行安装程序,系统会提示您进行升级(如果我没有记错的话). (据我所知)您不能同时安装Community和Professional Edition(与Express版本不同).

When you buy/license Visual Studio 2015 Professional or higher, you'll have access to the install media, usually an ISO file or vs_setup.exe web-downloader. Mount the ISO image and run Setup and you'll be prompted to upgrade (if I remember correctly). You cannot (to my knowledge) have a side-by-side install of Community and Professional Edition (unlike you can with the Express editions).

我个人而言,我将首先是完全卸载Community,然后是全新安装Professional-当我从事VS2015的安装经验时,我记录了在反向SKU升级(例如,升级)中遇到的一堆错误.社区到企业,然后降级为专业),例如项目模板项目模板消失,等等.如果这些仍然引起问题,也不会令我感到惊讶-我认为这不值得冒险.

Personally I would just do a full uninstall of Community first, then a clean install of Professional - when I worked on the setup experience of VS2015 I logged a whole bunch of bugs that were experienced during in-version SKU upgrades (e.g. upgrading Community to Enterprise, then downgrading to Professional), such as project template item templates disappearing, etc. It wouldn't surprise me if these still caused issues - I don't think it's worth the risk.

Visual Studio 2017现在完全支持不同SKU的并行安装(这就是安装目录为%programfiles(x86)%\Microsoft Visual Studio 2017\Enterprise的原因).因此,您无需将其从较低的SKU进行就地升级到较高的SKU,而是将其完全作为单独的安装进行安装.您需要手动移动设置和扩展名(或使用基于Microsoft帐户的设置同步功能).

Visual Studio 2017 now fully supports side-by-side installations of different SKUs (which is why the installation directory is %programfiles(x86)%\Microsoft Visual Studio 2017\Enterprise). So rather than doing an in-place upgrade from a lower SKU to a higher SKU, you install it as a separate install entirely. You'll need to manually move your settings and extensions over (or use the Microsoft Account-based settings synchronization feature).

这篇关于是否可以将Visual Studio Community 2015轻松更新为Visual Studio Professional 2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆