是否有一种方法可以在源生成器中的Net 5类库上引用(或使用反射)(Net 2标准)
我正在编写一个源生成器,需要在另一个项目中查看类型,类型名称及其属性。
不幸的是,源生成器项目必须针对Net Standard 2.0,并且需要考虑的类库库项目生成代码是net 5。
I'm writing a source generator that needs to look at types, type names, and their properties within another project.
Unfortunately, source generator projects have to target NET Standard 2.0 and the class library project that it needs to look at to generate code is NET 5. Any way to accomplish this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论