01 2024 档案

Flutter开发:Visual Studio Code使用
摘要:1 创建您的第一个 Flutter 项目启动 Visual Studio Code 并打开命令面板(使用 F1、Ctrl+Shift+P 或 Shift+Cmd+P)。开始输入“flutter new”。选择 Flutter: New Project 命令。 2 使用Refactor抽取函数 2.1 阅读全文

posted @ 2024-01-15 14:03 TanZhiWei 阅读(449) 评论(0) 推荐(0) 编辑

C# 执行powerShell
摘要:public async Task<string> RunPowerShellAsync(params string[] cmds) { // 创建一个新的进程以执行PowerShell命令 using var process = new Process(); process.StartInfo.F 阅读全文

posted @ 2024-01-08 10:54 TanZhiWei 阅读(595) 评论(0) 推荐(0) 编辑

解决依赖库多版本重定向问题
摘要:AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve; private Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventAr 阅读全文

posted @ 2024-01-08 10:53 TanZhiWei 阅读(28) 评论(0) 推荐(0) 编辑

串口通信
摘要:1 封装串口通信 using System; using System.IO.Ports; using System.Linq; namespace Business { /// <summary> /// 串口通信服务 /// </summary> public class SerialPortS 阅读全文

posted @ 2024-01-08 10:51 TanZhiWei 阅读(12) 评论(0) 推荐(0) 编辑

日常开发遇见小问题: Nuget包引用无法获取到包内的资源
摘要:1 获取输出包内资源 2 无需包内资源 不需要输出Nuget内资源文件的。可以按下面进行操作: Nuget所有文件不输出(目前我们的Nuget文件输出方式都是content类型,所以可以直接用contentFiles) <ItemGroup> <PackageReference Include="N 阅读全文

posted @ 2024-01-04 09:40 TanZhiWei 阅读(98) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示