查看 CodeDom 的源代码
有没有办法从我使用 CodeDom 生成的可执行文件中获取源代码文件?我希望能够打开源文件,以便我可以清楚地看到生成任何代码时出错的位置。
Is there some way to get the source code files from the executable I generated using CodeDom? I would like to be able to open the source files so that I can clearly see where I made errors generating any code.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用 CodeDom 生成可执行文件,您还可以从中生成其源代码。下面的示例展示了如何从
CodeCompileUnit
对象创建源文件。If you generate an executable with CodeDom, you can also generate its source code from it. The example below shows how to create a source file from the
CodeCompileUnit
object.