What is "Roslyn Code Fixes" in Visual Studio 2015? - visual-studio

I see this in the newly released VS 2015:
However, clicking it does nothing (tried also double-clicking, shouting at it, etc.). How to interact with this element?

It looks like they just released Resharper 9.1.2 today (July 21, 2015).
I had this same problem when I installed 9.1.1 Reshaper from Visual Studio 2015 in the Tools -> Extensions and Updates... menu.
It's likely best to just grab it on their site right now.

Ah, it's ReSharper 9.x causing this. They probably need to update for VS2015 RTM yet.

Related

How to upgrade from VS 2017 to 2019?

VS 2019 is RTM, and I was wondering what's the proper way to upgrade from VS 2017, is there a dedicated 'upgrade' method, or is it uninstall and install? Maybe install and uninstall?
What's the right way to do it without having to uninstall and reinstall same stuff for nothing?
We cannot directly upgrade VS 2017 to VS 2019. They are compatible and work side by side though (like the following). Please download and install VS 2019 from https://learn.microsoft.com/en-us/visualstudio/releases/2019/release-notes
On Visual Studio Installer, You will see two tabs : Installed and Available. On Installed Tab, Visual Studio Community 2017, Click on More Drop-down, Choose Uninstall. Reboot is recommended before you begin with Installing Visual Studio Community 2019 from Available Tab.

Should I install Visual Studio 2017 beside Visual Studio 2015 or should I first uninstall Visual Studio 2015 and then install Visual Studio 2017?

I am currently using Visual Studio 2015 for programming ASP.NET Core applications. I have the following questions regarding installing Visual Studio 2017:
What is considered to be best practice and/or cleanest method?
Should I install Visual Studio 2017 beside Visual Studio 2015?
Should I first uninstall Visual Studio 2015 and all .NET Core dependencies and then install Visual Studio 2017?
Are there any tools that would ensure a clean uninstall of Visual Studio 2015?
From page Visual Studio 2017 Platform Targeting and Compatibility
Compatibility with Previous Releases Installation
You can install and use Visual Studio 2017 alongside previous versions of Visual Studio, including Visual Studio 2015, Visual Studio 2013, and Visua Studio 2012.
So yes. you can install them without any problem.
VS 2013, VS 2015, and VS 2017 all work well side-by-side. VS 2012 can be a little dodgy on Windows 10, but should also work side-by-side. In theory VS 2010 should also work side-by-side with those, but I've run into quirks in the past with them interfering with one-another.
Projects should round-trip between 2015 and 2017 generally, although there are some one-way upgrade scenarios.
Note that if you really just need the older compiler toolset for some reason, you can also install VS 2017 and select the optional component Microsoft.VisualStudio.Component.VC.140 which installs the older v140 compiler which you can still use with the VS 2017 IDE. That said, there's not a lot of reason to do this since the VS 2015 & VS 2017 C++ standard libraries are binary compatible so you can mix them in a project.
See this blog post for information on VS 2017.
It sounds like you have done some projects in 2015 already, so you will probably want to keep it.
Once you open a project in a new version, it will try to upgrade the project and then you can't go back.
However, if you have multiple versions installed at the same time, when you try to open a project, say, from Windows Explorer, it will open it with the "Visual Studio Version Checker" and will look at the project file and determine which version to open it in.
Bottom line, if you have the hard drive space, there is no reason to not install them alongside each other.
In the past, it was recommended to install them in sequential order if you are installing multiple versions, but it doesn't sound like this is an issue for you and I don't know if that is even a problem anymore as it has been several versions since I have had to deal with that.
Good luck!
Personally, I would keep both - there have been multiple times through the years where you have compatibility issues and NEED to have the prior version(s). I've also had old project that will not upgrade and I've gone back and reinstalled old VS versions.
If you have no reason to keep VS2015 in your computer I would suggest uninstalling it.
I uninstalled VS2015 after installing VS2017 and later noticing that I was still using an old taskbar shortcut to VS2015.
So I was inadvertently still using VS2015.
Maybe some special cases require keeping older versions of VS along side the new version, but for the rest of us, I say, uninstall!
VS 2015 is the last version that is supported by Installshield LE.
If you have a need for building installers in the future, it will be useful to have VS 2015
1,2,3. Visual Studio 2017 has more features over 2015 and it contains 2015's current features so you don't need 2015 alongside 2017. Just stick with 2017. And I don't think you will have any problems while opening 2013 and 2015 projects with Visual Studio 2017.
Uninstall Tool is a good tool to use. It cleanses all the leftover files and registry entries after running the original uninstallation wizard and even tells you how many files will be cleaned after the required reboot.
For people continuing to read this, I have Visual Studio Professional 2008 (For Windows Embedded 6.5), 2010, 2015, 2017 and they all work even if open at the same time.
Edit: As stated in other answers, they need to be installed from oldest version to newest.

Install Xamarin on Visual Studio 2015 with Xamarin on Visual Studio 2013 already installed

I have Xamarin installed on the Visual Studio 2013 on Windows Operating System. It works fine.
There is Xamarin tools in VS2013 as follows:
My problem is as follows:
I have recently installed Visual Studio 2015 on my desktop on Windows operating system. I thought when I opened the VS2015, I expected to see the Xamarin in it, but it does not. Then I installed the Xamarin again, and again and again, but still Xamarin does not show up in VS2015.
I wonder what is wrong? What am I missing?
By the way, I still have VS2013 on my desktop.
No Xamarin tools in VS 2015 as follows:
I even tried the following approach, still no luck.
Control Panel -> Programs -> Programs and Features Choose Xamarin
Click Change -> Next -> Click the desired drop down for each items in the tree view and select "Will be installed on local hard drive."
Click Next
I am even getting the following screen when installation is completed, but still I could not able to see Xamarin in VS2015.
I have installed Xamarin in my Visual Studio 2015 two days ago and it showing Xamarin under Tools. Below I have described the approach which I have followed to install Xamarin in Visual Studio 2015.
Go to Contol Panel >> Program Features >> Visual Studio
2015 >> Change>> Modify
1. Select C#/.Net(Xamarin) under Cross Platform Mobile Development
2. Check if these three red marked items are checked or not.
3. And then press update.It will download all the required packages to run Xamarin on VS 2015.Hope it helps you!!
I recently had horrendous problems trying to install Xamarin on VS2015 + Win10. (I don't have any other VS versions installed.) Even a full install and reinstall left huge holes in the installation. I tried repeatedly and each time the whole dev environment seemed to get itself in a different unusable state.
The fix for me, which is probably hitting a nut with a sledgehammer, was to:
Uninstall Xamarin (via Control Panel|Uninstall).
Uninstall Visual Studio (via Control Panel|Uninstall).
Follow Xamarin's manual uninstallation procedures Full Xamarin Uninstall.
Perform full reinstall of Visual Studio, being sure to tick the boxes shown in the answer by Parth Patel above.
This resulted in a faultless, fully functioning Xamarin environment for me. Overkill, maybe, but worth a go if all else fails.
Here is the solution:
I have deleted all the existing versions of visual studio ( 2010, 2012, 2013) except Visual Studio 2015 and then installed the Xamarin, and then I could able to see Xamarin on Visual Studio 2015.
It is not required to delete previous versions of VS. I have Xamarin Studio, VS 2013 and now VS 2015 and working perfectly. I moved to VS 2015 due to recent purchase of Xamarin by MS and that VS 2015 has Xamarin included.
I believe the issue with this question is was that your VS 2015 install did not include the add ins as pointed out in another answer in this question.
After the VS 2015 install -the only caveat was projects created initially in Xaramin Studio and then Opened in VS 2015 to needed to have the build configuration in the project tweaked. If not you could not get the project to build and then be deployed to an emulator or device for debug testing.
We have a few troubleshooting steps on our Knowledge Base that you can find here:
https://kb.xamarin.com/customer/en/portal/articles/1643349-missing-visual-studio-extensions-after-installation
Note: Some of these steps have older versions listed in the respective paths. You should use the latest version number available.
Before any install or uninstall actions. Try open some sample Xamarin project, in most cases during opening project in VS 15, it will show you, what needs to be installed or what is missing / corrupted.
Xamarin samples
I had some problems with my emulator best way to fix the problems is to uninstall everything (emulators, android sdk, vs, xamarin) and reinstall it.
It is also important to delete other or older versions of visual studio. Then you should probably see you options.
First try to uninstall all the other versions of Visual Studio (VS) 2013 in this case. Then try to reinstall Xamarin.
Visual Studio 2015 is little bit different from 2013 version, I am also using xamarin on visual studio 2015. But that is not listed under tools menu like 2013.
Maybe developers had changed that, you can go to "start a new project"(just like you start new app development), there you can find xamarin/android projects list, there you can start new android projects.
This is strange, I did not have any problem with Xamarin & VS 2015 (community).
You said,
I will see the Xamarin in it
Did you try to create a project or/and add your account in the new VS Installation ?

Can you install VS2013 alongside VS2012 without issues?

I cam across this question here on SE:
Can Visual Studio 2012 be installed side-by-side w/ Visual Studio 2010?
According to one comment with a good amount of upvotes, having 2010 and 2012 installed at the same time can present issues. I then came across this MSDN page about 2013:
http://msdn.microsoft.com/en-us/library/hh266747.aspx
If you use Visual Studio 2013 together with Visual Studio 2012 or Visual Studio 2010 SP1, you can [blah blah]
That suggests that 2013 can be safely installed along with VS2012. Can anyone confirm?
Take a look at Brian Harry´s Blog post announcing Visual Studio 2013.
VS 2013 can be installed side by side with previous versions of Visual Studio or, if you have a VS 2013 pre-release, it can be installed straight over top of the pre-release. TFS 2013 cannot be installed side by side but can also be installed over top of either a previous version (TFS 2012 or TFS 2010) or a pre-release.
Looks like you can, yes.
You can install this version of Visual Studio on a computer that
already has an earlier version installed.
http://msdn.microsoft.com/en-us/library/ms246609%28v=vs.120%29.aspx
Only issue I can see is during uninstallation, where the file associations may get lost.
I was having two installation on my computer. Really no problems.
From personal experience, I've come across multiple issues with using Visual Studio 2012 and prior, while a VS2013 installation exists on a machine.
Some of the issues include built executables failing to launch (double clicking .exe does nothing, but debugging them in VS launches them), and inability to compile solutions that mix C# and C++ projects.
I would avoid 2013 until these issues are resolved, as just having it installed on a machine breaks older code, even if you don't use VS2013.
There are some minor (compatibility) issues between using both VS2010 and VS2012 on the same Solution, but simply having VS2012 installed on your machine won't effect anything in VS2010.
There may be compatibility issues with 2013 Community edition. I had VS 2012 Ultimate and VS 2013 Express installed and working without any issue, but as soon as I installed VS 2013 Community, my VS 2012 Ultimate install has been behaving unusually. When I first open VS 2012 U, there is a really long load time. When I perform some action (open a file, select a menu option, anything actually) I have to minimize and maximize VS 2012 U for the screen to refresh. I am still trying to figure it out myself - so if anyone has a solution, please share.

Is it still possible to install PerfWatson for Visual Studio?

A long while ago Scott Hanselman talked about PerfWatson. I've finally decided to install this extension in Visual Studio, but the extension no longer appears to be available for public-consumption (perform either a search or click on the appropriate link on the PerfWatson Monitor extension).
Is there an alternative to PerfWatson, or has it been completely phased out?
The PerfWatson extension is now available, and was updated on May 24th. The first paragraph says:
The Visual Studio team no longer collects PerfWatson reports for Visual Studio 2010. Your reports helped us to identify the issues affecting you most, and you can see improvements in Visual Studio 11 Beta. The PerfWatson extension is included in the VS11 Beta release. If you would like to use PerfWatson to automatically report on any responsiveness issues you are encountering, please download and try out the VS11 Beta.
Looks like it's no longer valuable.
Update July 2017
It appears that PerfWatson is available as a Visual Studio Extension for 2012, 2013, 2015, and 2017.
Paul Harrington appears to be a software engineer at Microsoft, but no idea if the extension's purpose remains the same.

Resources