C# Firebird数据访问设计器(DDEX)安装

C# Firebird数据访问设计器(DDEX)安装,c#,database,visual-studio,firebird,C#,Database,Visual Studio,Firebird,您好,我想使用firebird库,我按照下面的说明操作,但我得到“找不到引用的组件'FirebirdSql.Data.firebird'。错误 说明: 先决条件 确保您有Visual Studio.NET 2005标准版或更高版本 不支持快速版本 注册表更新 请记住更新FireBirdDexProviderPackageLess32.reg或FireBirdDexProviderPackageLess64.reg中的路径,更新路径的位置标记为%path% 将.reg文件安装到注册表中 Machi

您好,我想使用firebird库,我按照下面的说明操作,但我得到“找不到引用的组件'FirebirdSql.Data.firebird'。错误

说明:

先决条件

  • 确保您有Visual Studio.NET 2005标准版或更高版本
  • 不支持快速版本 注册表更新

  • 请记住更新FireBirdDexProviderPackageLess32.reg或FireBirdDexProviderPackageLess64.reg中的路径,更新路径的位置标记为%path%
  • 将.reg文件安装到注册表中 Machine.config更新

    将以下两个部分添加到machine.config(在64位系统上,通常位于C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config和C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\config\machine.config)


    是否在项目中添加了对程序集的引用?如果没有,请在解决方案资源管理器中的“引用”上单击鼠标右键,然后选择“添加引用”。找到Firebird客户端程序集并将其添加。

    我遇到了相同的问题。。。它在.NET组件列表中不可用。。。尽管我已经用gacutil将其添加到GAC中@山姆:我对可用组件列表中何时出现以及何时不出现的理解。我也有过同样的经历,我用gacutil添加了一个,但仍然没有看到它。尽管如此,您还是应该能够通过单击添加引用对话框的
    浏览
    选项卡来添加它。然后直接浏览到文件。谢谢,在我的例子中,machine.config中的版本是错误的file@Sam当前位置很高兴你找到了答案。这些类型的问题有时会出现,而且很少有迹象表明真正的问题是什么。
    <configuration>
      ...
      <configSections>
        ...
        <section name="firebirdsql.data.firebirdclient" type="System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        ...
      </configSections>
      ...
      <system.data>
        <DbProviderFactories>
          ...
          <add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".Net Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=%Version%, Culture=%Culture%, PublicKeyToken=%PublicKeyToken%" />
          ...
        </DbProviderFactories>
      </system.data>
      ...
    </configuration> 
    
    %Version% With the version of the provider assembly that you have in the GAC.
    %Culture% With the culture of the provider assembly that you have in the GAC.
    %PublicKeyToken% With the PublicKeyToken of the provider assembly that you have in the GAC.