reinforced-typings - Configure reinforced typings to export one type to multiple target directory
问题描述
I'm using fluent configuration to export my c# DTOs to typescript classes. I have two web projects and I would like to export my DTOs to both projects.
ConfigurationBuilder has extension method ExportAsClasses but it allows to specify target file name only once.
解决方案
Unfortunately, RT does not support such functionality. But you can set up post-build event for your project that will copy generated files wherever you need.
推荐阅读
- list - Haskell 中是否有像“uniqueBy”一样工作的函数?
- javascript - 从 chrome.executeScript 执行 QuerySelector
- vue.js - 多个 Vue.js 站点/NGINX 反向代理/热重载不起作用
- html - 如何在我的情况下水平居中项目?
- python - 如何将已删除项目的数量添加回我在 django 的总数量中?
- flutter - 带有导航栏项的活动状态颤动的圆形背景
- oracle - PL/SQL:我的主机变量没有在屏幕上打印任何内容
- javascript - 更改时使用css为div中的文本设置动画
- flutter - 如何解决 Box not Found 错误 Hive Flutter
- arrays - C 数组中同一项目的不同输出