Visual 2017 C#和Unity,无法引用Google名称空间,名称空间不会自动填充

时间:2018-10-23 17:10:57

标签: c# unity3d google-cloud-platform visual-studio-2017 google-cloud-storage

在我的C#项目中尝试引用Google Cloud Platform库时出现以下错误: “找不到类型或名称空间名称'Google'(您是否缺少using指令或程序集引用?)。

我已经使用程序包管理器成功安装了Google Cloud API程序包,我不应该能够键入“ using Google.Cloud.Storage.v1”并实现该库的代码吗?

为清楚起见,我正在使用Visual Studio编辑Unity脚本。

As shown, the google namespace doesn't autofill

1 个答案:

答案 0 :(得分:0)

我决定只制作一个Windows窗体应用程序,该应用程序是从unity脚本启动的,该脚本不引用unity。该程序与Google Cloud的连接没有问题。