0

我已经有一段时间了,无法弄清楚原因是什么。

Error 1 The type 'Google.Apis.Requests.IErrorResponseHandler' is defined in an assembly that is not referenced. You must add a reference to assembly 'Google.Apis, Version=1.2.4737.25313, Culture=neutral, PublicKeyToken=null'.
Error 2 The type 'Google.Apis.Authentication.IAuthenticator' is defined in an assembly that is not referenced. You must add a reference to assembly 'Google.Apis, Version=1.2.4737.25313, Culture=neutral, PublicKeyToken=null'.
Error 3 The type 'Google.Apis.Discovery.IRequestProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'Google.Apis, Version=1.2.4737.25316, Culture=neutral, PublicKeyToken=null'.

4

2 回答 2

0

为了让 SSIS 找到 DLL,它需要位于 GAC中以及SSIS用来查找组件的路径中的某个位置。特定版本框架的 .NET Framework 文件夹是放置它的好地方;这将适用于 .NET Framework 2.0(这是 SSIS 2005 和 2008R2 使用的)或 .NET Framework 4.0(我相信这是 SSIS 2012 使用的)。C:\Windows\Microsoft.NET\Framework\v2.0.50727C:\Windows\Microsoft.NET\Framework\v4.0.30319

于 2013-03-26T15:27:34.103 回答
0

您需要添加对项目的引用:

转到Solution Explorer窗口,展开项目的节点(如果尚未展开),右键单击References,浏览程序集所在的位置(如果已在 GAC 中,请从框架列表中选择它),添加引用。

于 2013-03-26T13:40:50.597 回答