question

BryanKelly-4107 avatar image
0 Votes"
BryanKelly-4107 asked AnnaXiu-MSFT edited

Install NET 5.X

Windows 10, Visual Studio 2017, C++
Bare Question
How do I get .NET 5.0 installed? Or maybe, how to get VS 2017 to recognize it.

Background:
I think VS 2017 is not installed correctly in that it does not have an option to build an MFC project. Well, I cannot find it and have not received a reply to a question on that.

To re-install I will need the product key. To get that, a search and a hit from Stackoverflow told me where to find the key, but it is encrypted. A link was provided for an app to decrypt the key. I downloaded the app from github to decrypt the key. It will not compile with error message that it requires NET 5.0.

That was installed and the same error message was presented. Rebooted computer. Same message. The message is, in part:

The reference assemblies for framework ".NETFramework,Version=v5.0" were not found.

Went back to the .NET exe file and did the repair operation. (To verify that it is installed) An image of the result is provided.![90908-dot-net-5-installed.png][1] Note: The option for add an image did not work but was able to add an attachment. It is just an image of the dialog showing Microsoft .NET SDK 5.0.202 was successfully repaired.

Please advise as to a next step to try.

edit: Side problem:
When visiting the product key web site, here:
https://my.visualstudio.com/productkeys?wt.mc_id=o%7Emsft%7Edocs
It states I don’t have product keys. I think this is because of using a different email address to purchase and install Windows and Visual Studio. That email was associated with a personal web site. It was a dot ws web site. I changed host providers and had to change my site from a dot ws to domain to a dot net domain. That means I no longer have access to the original email. I don’t know how to backdate my new MSDN account with the stuff from back then.

c++vs-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AnnaXiu-MSFT avatar image
0 Votes"
AnnaXiu-MSFT answered AnnaXiu-MSFT edited

Hi @BryanKelly-4107 ,

Welcome to Microsoft Q&A!

For .NET 5.0, it is supported in Visual Studio 2019 16.8 or later. I suggest you install Visual Studio 2019 to use it.

Besides, about product keys problems, please directly contact Subscription Support to get help: https://visualstudio.microsoft.com/subscriptions/support/.

Sincerely,
Anna


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

vb2ae avatar image
0 Votes"
vb2ae answered

You can download .net 5 from here. As for developing .net 5 apps you will need to upgrade to Visual Studio 2019


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.