上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 322 下一页
摘要: 本文记录 WPF 在 dotnet 9 的一项 XAML 编写语法改进点,此改进点用于解决编写 Style 的 Setter 进行给 Value 赋值时,不能将 Value 当成默认内容,需要多写 Value 标签的问题。通过此改进点可减少两行 XAML 代码 阅读全文
posted @ 2024-05-09 07:31 lindexi 阅读(418) 评论(0) 推荐(5)
摘要: 在代码里面输入类似于 Colors.Red 的代码,将会自动在代码后面显示一个对应颜色的小方块。本文将告诉大家这个功能的开关在哪里 阅读全文
posted @ 2024-05-08 07:33 lindexi 阅读(106) 评论(0) 推荐(0)
摘要: 本文将告诉大家如何在 WPF 里面,从键盘事件 KeyEventArgs 参数里获取到 Scan Code 键盘按键的设备独立标识符的方法 阅读全文
posted @ 2024-05-07 07:28 lindexi 阅读(289) 评论(0) 推荐(0)
摘要: 我的需求是需要有一个能够构建出 dotnet 的 AOT 包的环境,要求这个环境能解决 glibc 兼容依赖的问题,能打出来 x64 和 arm64 的 AOT 的包,且能够运行 gitlab runner 对接自动构建 阅读全文
posted @ 2024-04-29 07:22 lindexi 阅读(538) 评论(1) 推荐(3)
摘要: 在 UOS 统信安装 dotnet sdk 失败 提示 You cannot install '/home/lindexi/packages-microsoft-prod.deb' that failed the verification, please go to Security Center - Security Tools - Application Security to adjust 阅读全文
posted @ 2024-04-29 07:22 lindexi 阅读(452) 评论(0) 推荐(1)
摘要: 刚刚好 dotnet 8 的 glibc 版本足够旧,可以运行 阅读全文
posted @ 2024-04-27 07:19 lindexi 阅读(718) 评论(0) 推荐(0)
摘要: 刚刚好 dotnet 8 的 glibc 版本足够旧,可以运行 阅读全文
posted @ 2024-04-26 18:41 lindexi 阅读(49) 评论(0) 推荐(0)
摘要: 本文将告诉大家一个在 ZipArchive 里追加文件夹,以及添加过滤文件处理的压缩文件辅助方法 阅读全文
posted @ 2024-04-26 18:41 lindexi 阅读(318) 评论(0) 推荐(0)
摘要: 本文属于 IIncrementalGenerator 增量 Source Generator 源代码生成入门系列博客,本文将和大家介绍如何为源代码生成项目添加单元测试 阅读全文
posted @ 2024-04-26 09:25 lindexi 阅读(128) 评论(0) 推荐(0)
摘要: 以往的单元测试都是不能单独作为一个独立的可执行文件跑的,需要在 VisualStudio 或 VSTest 或 dotnet test 里面运行。这就限制了运行单元测试的环境了,有时候开发者可能期望在无 SDK 或开发环境下执行单元测试,这时就可以用到本文介绍的 MSTestRunner 功能,将单元测试制作为独立可执行文件 阅读全文
posted @ 2024-04-26 09:24 lindexi 阅读(77) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 322 下一页