Npgsql PostgreSQL Integration Extension - Could not load file or assembly 'Microsoft.VisualStudio.Shell.15.0'
See original GitHub issueSteps to reproduce
- Install Npgsql PostgreSQL Integration
- Open Visual Studio
- Getting following error
The issue
Exception message:
Stack trace:
CreateInstance failed for package [NpgsqlVSPackage]Source: 'mscorlib' Description:
Could not load file or assembly 'Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
The system cannot find the file specified. System.IO.FileNotFoundException: Could
not load file or assembly 'Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Shell.15.0,
Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at
System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name,
Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type) at
System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError,
Boolean ignoreCase) at System.Activator.CreateInstanceFromInternal(String assemblyFile,
String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder,
Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName) WRN:
Assembly binding logging is turned OFF. To enable assembly bind failure logging,
set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to
1. Note: There is some performance penalty associated with assembly bind failure
logging. To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].
--
Further technical details
Npgsql version: 4.1.3 PostgreSQL version: 10.12 Operating system: Windows 10 Pro IDE: Visual Studio Enterprise 2017
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:28 (15 by maintainers)
Top Results From Across the Web
Visual Studio 2015 fail to load package because Microsoft. ...
According to the error message, your extension dependency on Microsoft.VisualStudio.Shell.15.0, which is a VS 2017 assembly. So it is not ...
Read more >Error after installing new version of Postgresql Integration ...
... installing the latest version of the extension (PostgreSQL Integration for VS) I get an error. "Could not load file or assembly System....
Read more >Fail to migrate the VS 2019 project to VS 202
Our plugin project calls Microsoft.VisualStudio.Shell.14.0.dll which does not exist in VS 2022, try to remove it and add Microsoft.VisualStudio.
Read more >Npgsql PostgreSQL Integration
The Npgsql PostgreSQL Integration extension adds PostgreSQL integration right inside Visual Studio. With this extension, you can:.
Read more >[Programmer Tools]NuGet used
Instrumenting coverage tool for .net (framework 2.0+ and core) and Mono assemblies, reimpl… AMSWebAPI:RSCG_AMS a Roslyn Source Code Generator ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK! I will add support for Npgsql without DDEX then in the next release of EF Core Power Tools
Closing as we no longer support the VSIX extension.