首页 > 解决方案 > 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.

标签: reinforced-typings

解决方案


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.


推荐阅读