Maui Blazor 中文社区 QQ群:645660665
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页
摘要: MAUI 多平台环境路径测试笔记 MAUI/MAUI Blazor/Blazor Hybrid 环境路径测试笔记 (Android/iOS/Windows/SSR/PWA/WinForm/Wpf) 测试代码 Tools服务类多平台实现 MAUI public string CacheDirectory() => FileSystem 阅读全文
posted @ 2022-11-16 19:34 AlexChow 阅读(312) 评论(0) 推荐(0)
摘要: 升级vs或者装了.Net 7.0后, 工程框架用 net6 的 dotnet watch 出错 'Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime 阅读全文
posted @ 2022-11-16 17:36 AlexChow 阅读(1253) 评论(0) 推荐(1)
摘要: 如何在 .NET MAUI 中加载 json 文件? 按core传统方式添加 AddJsonFile("appsettings.json") 在windows平台和ssr工作正常,但是在 ios 和 android 无法用这种方式,因为资源生成方式不一样. 使用内置资源方式不够灵活而且 ios 平台会提示不能复制 json 文件到目录,于是进行了几天的研究,终于能正确使用了. 阅读全文
posted @ 2022-11-14 19:33 AlexChow 阅读(1982) 评论(1) 推荐(5)
摘要: **.NET MAUI 目前仅允许发布 MSIX 包。** 原文地址 创建签名证书发布到本地传送门 https://www.cnblogs.com/densen2014/p/16567384.html ### 使用 Visual Studio 2022 发布到 Windows 应用商店 **由于是发 阅读全文
posted @ 2022-11-13 04:48 AlexChow 阅读(1583) 评论(2) 推荐(10)
摘要: 升级 Net 7 随手笔记 (注意事项以及解决方案) - 持续更新 条件编译 #if NET6_0 改为 #if NET7_0 或者 #if NET6_0_OR_GREATER #if NET6_0_OR_GREATER using BootstrapBlazor.Components; #endif 项目目标支持6和7改为<TargetFramework>net6 阅读全文
posted @ 2022-11-12 06:47 AlexChow 阅读(1637) 评论(11) 推荐(2)
摘要: 在工程项目文件.csproj 添加这行 <PropertyGroup> ... <OpenApiGenerateDocuments>false</OpenApiGenerateDocuments> ... </PropertyGroup> 就可以跳过 GenerateOpenApiDocuments 阅读全文
posted @ 2022-11-12 05:13 AlexChow 阅读(306) 评论(0) 推荐(0)
摘要: Maui App 运行在 iOS16 提示 "需要启用开发者模式" iOS 16新增的开发者模式有什么用? 开发者模式可防止人们无意中在其设备上安装可能有害的软件,并减少开发者专用功能所暴露的攻击媒介。 开发者模式不会影响普通用户从 App Store 安装应用,真正影响的是需要在 Xcode 中机 阅读全文
posted @ 2022-11-08 19:40 AlexChow 阅读(4659) 评论(0) 推荐(0)
摘要: 在构建 MAUI App 或 MAUI Blazor 时,您可能会收到以下 Could not find any available provisioning profiles for iOS. Please enable Automatic Provisioning from the iOS Bu 阅读全文
posted @ 2022-11-08 19:01 AlexChow 阅读(575) 评论(5) 推荐(0)
摘要: 'MD5CryptoServiceProvider' 已过时 派生的加密类型已过时。改为在基本类型上使用 Create 方法。 Derived cryptographic types are obsolete. Use the Create method on the base type instead 阅读全文
posted @ 2022-10-25 19:49 AlexChow 阅读(3173) 评论(0) 推荐(0)
摘要: Blazor File System Access 文件系统访问 组件 Web 应用程序与用户本地设备上的文件进行交互 File System Access API(以前称为 Native File System API,在此之前称为 Writeable Files API)使开发人员能够构建强大的 阅读全文
posted @ 2022-10-21 08:04 AlexChow 阅读(1449) 评论(4) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页