npgsql / npgsql

Npgsql is the .NET data provider for PostgreSQL.
http://www.npgsql.org
PostgreSQL License
3.21k stars 818 forks source link

VS2013 Failed to find or load the registered .Net Framework Data Provider #1356

Closed oananed closed 7 years ago

oananed commented 7 years ago

Hi,

A followed the steps under http://www.npgsql.org/doc/ddex.html to make my app work with Postgresql database. I installed DDexProvider, Npgsql and EntityFrameworkNpgsql 3.0.7 and all worked fine.

Then I wanted to use Npgsql 3.1.8 and for this I installed via PackageManagerConsole the latest version: InstallPackage Npgsql -version 3.1.8

I made this installation for all projects of my solution. For a while all worked fine, but after I cleaned the solution, when I rebuild the solution, I get this message: Failed to find or load the registered .Net Framework Data Provider

Could you please help me with this?

Bytheway, when I run my app, the Output says: 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\MillefioriProd.exe'. Symbols loaded. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\MillefioriProd.Infrastructure.dll'. Symbols loaded. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\Microsoft.Practices.Unity.dll'. Cannot find or open the PDB file. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\Microsoft.Practices.ObjectBuilder2.dll'. Cannot find or open the PDB file. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\Microsoft.Practices.Composite.dll'. Cannot find or open the PDB file. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\MillefioriProd.Core.dll'. Symbols loaded. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\MillefioriProd.UI.dll'. Symbols loaded. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\Microsoft.Practices.Composite.Presentation.dll'. Cannot find or open the PDB file. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\WpfExtensions.dll'. Symbols loaded. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\MillefioriProd.Data.dll'. Symbols loaded. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\MillefioriProd.Resources.dll'. Symbols loaded. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\EntityFramework.dll'. Cannot find or open the PDB file. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\EntityFramework.SqlServer.dll'. Cannot find or open the PDB file. 'MillefioriProd.vshost.exe' (CLR v4.0.30319: MillefioriProd.vshost.exe): Loaded 'D:\Proiecte\mp\trunk\MillefioriProd\bin\Debug\EntityFramework6.Npgsql.dll'. Cannot find or open the PDB file.

roji commented 7 years ago

There's a good chance this issue will disappear with the upcoming, rewritten version of the extension - see #1407. This version will soon be released with Npgsql 3.2, I might also do a prerelease before then. If your issue persist after upgrading to the new extension, please post back.