The error occurs when I'm trying to create ADO.NET Entity Data Model. The error says:
The preinstalled packages have a reference to a missing Registry value. Could not find a Registry key with name 'EntityFrameworkVisualStudio14Tools' under 'SOFTWARE\NuGet\Repositoty'.
I'm using Windows 10, Visual Studio 2015, and tried to install Entity Framework 6.1.3
In my case the string EntityFrameworkVisualStudio15Tools
was missing but instead EntityFrameworkVisualStudio16Tools
was there. I guess because I also installed Visual Studio 2019, but I'm currently working in Visual Studio 2017.
Registry Path on a 64 bit Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Nuget\Repository
Solution:
I created the string EntityFrameworkVisualStudio15Tools
and copied the value from EntityFrameworkVisualStudio16Tools
which was in my case:
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Entity Framework Tools\NuGet Packages\
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With