摘要: c# 调试时看不到变量值 表达式求值时 对类型xxx的引用声称该类型是在 xxxx 中定义的,但未能找到 Reference to type xxx claims it is defined in xxxx but it could not be found 原因程序加载了同名dll 一个类型中存在 阅读全文
posted @ 2021-12-28 09:28 wolbo 阅读(24) 评论(0) 推荐(0) 编辑
摘要: The type initializer for 'Grpc.Core.Internal.PlatformApis' threw an exception. 原因重写了程序集加载 AppDomain.CurrentDomain.AssemblyResolve += delegate (object 阅读全文
posted @ 2021-12-27 19:42 wolbo 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 找到exe的配置文件 app.config为开发时模板 appname.exe.config为实际运行配置 在appname.exe.config中</configuration>上面增加以下节点 <system.diagnostics> <trace autoflush="true" /> <so 阅读全文
posted @ 2021-12-23 16:45 wolbo 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 数据结构 public enum AgvUpgradeStep { VersionCheck = 0, Downloading = 1, Updating = 2, Booting = 3 } public enum AgvUpgradeResult { Success = 0, Running = 阅读全文
posted @ 2021-10-19 22:36 wolbo 阅读(15) 评论(0) 推荐(0) 编辑
摘要: windows https://www.pendrivelinux.com/install-grub2-on-usb-from-windows/ 阅读全文
posted @ 2021-09-20 09:43 wolbo 阅读(26) 评论(0) 推荐(0) 编辑
摘要: boost process 设置子进程工作目录 通过boost::process::start_dir 指定 std::string cmd = (AppContext::GetBinDir() / "agvtask.exe").string(); auto pipe_stream = std::m 阅读全文
posted @ 2021-09-08 11:07 wolbo 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 最近num lock总是自动关闭 查找相关注册表项 Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Control Panel\Keyboard] "InitialKeyboardIndicators"="2147483650" "Ke 阅读全文
posted @ 2021-09-08 10:00 wolbo 阅读(37) 评论(0) 推荐(0) 编辑
摘要: c# 根据proto文件自动生成代码配置 选中proto文件 右键属性 设置编译动作 protobuf编译 grpc存根根据实现角色配置 生成时报错: File not found. Import "common.proto" was not found or had errors. 修改cspro 阅读全文
posted @ 2021-08-25 10:28 wolbo 阅读(226) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8" ?> <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc 阅读全文
posted @ 2021-08-19 20:19 wolbo 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 源码目录: ${CMAKE_SOURCE_DIR} This is the full path to the top level of the current CMake source tree. For an in-source build, this would be the same as C 阅读全文
posted @ 2021-08-14 11:00 wolbo 阅读(17) 评论(0) 推荐(0) 编辑