gpt4 book ai didi

c# - Microsoft.Azure.Mobile 命名空间问题 [UWP]

转载 作者:行者123 更新时间:2023-11-30 16:42:57 25 4
gpt4 key购买 nike

有一次我在使用 Microsoft.Azure.Mobile NuGet 包时遇到问题,但不知何故解决了。昨晚,我修复了我的 Visual Studio,错误又回来了,我无法修复它。

我已经安装了 Microsoft.Azure.Mobile 包,但使用语句会出错。

The type or namespace name 'Azure' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

我想我必须安装一些我不知道的扩展或 SDK 之类的东西,但在任何文档中都找不到解决方案。你能帮助我吗?谢谢。

最佳答案

根据您的描述,我检查了这个问题。我找到了 Microsoft.Azure.Mobile 0.14.2只是有如下依赖:

UAP 10.0

Microsoft.NETCore.UniversalWindowsPlatform (>= 5.2.2)

Newtonsoft.Json (>= 6.0.1)

sqlite-net-pcl (>= 1.3.1)

我创建了我的 UWP 应用,目标版本为 Windows 10(10.0;内部版本 10240),我可以成功安装包。看来你的包没有安装成功,有些依赖关系无法解决。您需要检查您引用的所有包并尝试定位原因。您也可以提供 project.json 文件或示例项目,以便我们重现此问题。

关于c# - Microsoft.Azure.Mobile 命名空间问题 [UWP],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45780212/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com