Extract visual studio 2017 product key - visual-studio

I have installed Visual Studio 2017 Professional with a product key.
Now I would like to install VS 2017 Professional on a different machine. How can I retrieve the product key used in the first installation?
I googled and found VS no longer stores keys directly in the registry. Instead, there's a new way to extract the key. I followed the links below:
How to change Visual Studio 2017 license key?
Updating registry settings for Visual Studio 2017
However, I could not find the exact location where the product key is stored.

You can find MS VS 2017 product key information from: https://my.visualstudio.com/productkeys

I have answered this in
Retrieve Visual Studio 2017 (Enterprise) Key from privateregistry
. Note that you will need to change the registry path to end with 2 (Professional) instead of 0 (Enterprise).

Related

Oracle (OracleClient) data source not showing up in Visual Studio 2015 for SSRS

I'm currently working with SSRS 2014 reports with visual studio 2013.
We have been asked to use visual studio 2015, but I ran into an issue with the data sources missing in 2015.
In 2013 I saw the following data sources:
In 2015 I see the following data sources:
Is there any configuration that will allow me to use OracleClient or even show both data providers?
Open your Registry editor and navigate to HKCU\Software\Microsoft\VisualStudio\12.0_Config\DataSources, resp. HKLM\Software\Wow6432Node\Microsoft\VisualStudio\12.0_Config\DataSources
Compare the branch with HKCU\Software\Microsoft\VisualStudio\14.0_Config\DataSources, resp. HKLM\Software\Wow6432Node\Microsoft\VisualStudio\14.0_Config\DataSources
Check also keys ...\VisualStudio\12.0_Config\DataProviders, ...\VisualStudio\14.0_Config\DataProviders
It should be no problem to copy some entries from old Visual Studio to new version.

Visual Studio Ultimate 2013 DreamSpark Product Key

My name is Thanos and I'm a student from Greece. Through DreamSpark's site I was licenced in VS Ultimate 2013 distribution. I managed to install it on my Desktop computer as well as my laptop and save the .iso file in both my computers but I didn't save the Product Key, because I knew any time wanted I could retrieve it from my order history. Now the problem is that dreamspark stoped the distribution VS Ultimate and hence they couldn't help to retrieve the key when I contact them. Is there any way to retrieve the key myself or do something so that I don't lose my credentials and my licence to the product?
Unfortunately you will not be able to retrieve the key.
Both the subscriber download of VS Ultimate 2013 and the key are removed from Dreamspark.
Why not use VS 2015?

Missing CodeLens references count in Visual Studio Community edition 2015 and 2017

Is there a reason why the references count (code lens) is missing in Visual Studio Community edition?
Is is possible to enable it in the options?
Here is a screenshot of Visual Studio 2015 and 2017 Community edition:
Here is a screenshot of Visual Studio 2013:
source: dailydotnettips.com
I installed the latest SSDT preview for Visual Studio 2015 from the link below on 2 machines I have with VS 2015 Community edition (Update 1), and CodeLens started working for all my projects.
https://msdn.microsoft.com/en-us/library/mt204009.aspx
This isn't a generic reference counting feature, it's just one of the features of CodeLens. CodeLens is only available in Visual Studio 2015 Pro and above. In Visual Studio 2013 it was a Ultimate-only feature.
UPDATE
As others have noted, installing SSDT or SSMS 2016 may enable CodeLens as well. That's because VS 2015 Community is Pro, with a different license and some missing extensions like CodeLens. As long as an extension's binaries and settings are installed, Community will activate the extension.
UPDATE 2019
"CodeLens has been a feature found only in Visual Studio Enterprise, but that will change in an upcoming preview of Visual Studio 2019, when it will also be available for the Community edition, likely in 2019"
What's New in Visual Studio 2019
I have Visual Studio 2015 Community edition and it originally did NOT have CodeLens.
However, after going to Tools -> Extensions and Updates -> Product Updates and then downloading SSDT and installing all options within the SSDT package, my VS 2015 Community Edition now miraculously has access to CodeLens.
On the Tools tab choose Options.
In the open window choose like bellow, and then press ok.
Good Luck!!!
This feature has been disabled in Visual Studio Community 2017, although it sounds like it was temporarily available in pre-release versions.
The Visual Studio Team issued this statement on the 14th of March 2017:
An authoring error in the SQL Server Data Tools resulted in the
capability temporarily showing up incorrectly in Visual Studio
Community when installed; the change you see is a result of correcting
that mistake.
Also, on the Compare Visual Studio 2017 Offerings page CodeLens appears to not be available in the Community edition.
I'm not allowed to Comment on R. Richards answer above, so posting this as a separate answer: CodeLens references disappeared for me too when I upgraded my VS Pro to 2017. But only on my Desktop ("same" upgrade behaved differently on my laptop, where CodeLens settings apparently unaffected). Anyway, very easy to resolve just Enable CodeLens under Text Editor : All Languages
An alternative is to just right-click the member and select 'Find All References' or the hot key shift + F12*. Not only you will find the count of references grouped by project, but also the underlying code lines and their classes.
* As per Visual Studio 2017 Community.

visual studio 2010 express registration

I'm not able to get registration key for visual studio 2010 express (or 2012 express).
If I'm clicking the "get registration key" in visual studio and the browser tells me "page not found".
This is the link VS tries to open: go.microsoft.com/fwlink/?LinkId=163982
Can anyone tell me how to get registration key?
Many thanks!
I used the offline installer (from DVD) - registration is required anyway (It seams that some people think in that case no key is reqired ...)
You should get Visual Studio 2012 Express free from Microsoft website by telling you're a student. In alternative you can register for Microsoft Dreamspark And can get VS 2013 Professional for free.
You can get one Community version of Visual Studio 2013 Here;
https://www.visualstudio.com/products/visual-studio-community-vs
Its FREE for Students.

how can I remove Visual Studio 2013 product key?

I have a copy of Visual Studio 2013 Pro on my machine with a aerial key that I'm no longer suppose to use because I have to use another one.

Resources