[英]The type or namespace name does not exist in the namespace ''are you missing an assembly reference ?"
[英]The Type or namespace name 'Storage' does not exist in the namespace 'Windows'(are you missing any assembly references ?)
CacheFilePath = Path.Combine(Windows.Storage.ApplicationData.Current.LocalCacheFolder.Path, ".msalcache.bin3");
我尝试在我的代码中使用这一行,但我收到错误
命名空间“Windows”中不存在类型或命名空间名称“存储”(您是否缺少任何程序集引用?)
谢谢杰里米·莱克曼的评论。
Windows.Storage Namespace 提供用于管理文件、文件夹和应用程序设置的类。
从 Nuget 包管理器添加Windows.Storage
命名空间。
请参阅ApplicationData以供参考。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.