Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Google API构建.NET应用程序时的警告_.net - Fatal编程技术网

使用Google API构建.NET应用程序时的警告

使用Google API构建.NET应用程序时的警告,.net,.net,我有一个应用程序,它在.NET4.0中使用GoogleDriveAPI。构建应用程序时,会收到三条警告: 警告3无法找到依赖项“GOOGLE.api”Signature='null' 程序集“Google.api.Drive.v2.dll”的版本='1.8.1.31687' D:\Documents\Visual Studio 2013\Projects\FFP Extended 1.0\FFPXInstaller\FFPXInstaller.vdproj 警告2无法找到依赖项“GOOGLE.a

我有一个应用程序,它在.NET4.0中使用GoogleDriveAPI。构建应用程序时,会收到三条警告:

警告3无法找到依赖项“GOOGLE.api”Signature='null' 程序集“Google.api.Drive.v2.dll”的版本='1.8.1.31687' D:\Documents\Visual Studio 2013\Projects\FFP Extended 1.0\FFPXInstaller\FFPXInstaller.vdproj

警告2无法找到依赖项“GOOGLE.api.CORE” 程序集的签名='null'版本='1.8.1.31685' 'Google.api.Drive.v2.dll'D:\Documents\Visual Studio 2013\Projects\FFP Extended 1.0\FFPXInstaller\FFPXInstaller.vdproj

警告1找不到依赖项“ZLIB.PORTABLE” 程序集的签名='null'版本='1.9.1.9000' 'Google.api.dll'D:\Documents\Visual Studio 2013\Projects\FFP 扩展1.0\FFPXInstaller\FFPXInstaller.vdproj

安装的应用程序似乎工作正常,但显然,我不希望在编译时收到任何警告。有人见过类似的东西吗?如果是,您是否解决了问题?

安装程序项目FFPXInstaller.vdproj对警告中提到的程序集有一些引用。这些文件可能来自一个先决条件,该先决条件位于项目中指定的另一个文件夹中,或者根本不存在


检查项目引用以查看哪里出了问题。检查带有警告标志的程序集是否确实存在于指定的路径中,以及它们的版本是否匹配。如果没有,请下载。然后将它们放在正确的文件夹中。

您好,谢谢您的回复;我已经查看了.vdproj文件,这些文件在那里被引用。这些文件确实存在于路径中,但它们的版本比.vdproj文件中指定的版本更高,例如,Google.api.Core的版本为1.8.2。我想the@user3855989:如果你有更多的问题,请告诉我。如果没有,因为您是新来的,请通过单击您最喜欢的问题之前的复选标记来接受答案,如果它对您有用。抱歉,在我完成评论之前,它超时了;我在下面添加了我的评论。谢谢你的回复;我查看了.vdproj文件,找到了对丢失文件的引用。这些文件确实存在于应用程序的packages文件夹中-vdproj文件中的路径以8开头:-我不知道如何设置它!此外,dll版本也比警告消息中指定的版本晚。例如,在vdproj文件中,Google.api.dll被引用为1.8.2.23762,它与packages文件夹中的内容匹配,但与警告版本1.8.1.31687不匹配。