我怎么可以参考类.NET可执行文件? [英] How can I reference classes in a .net executable?

查看:149
本文介绍了我怎么可以参考类.NET可执行文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IL反汇编显示类.NET可执行文件,我想在我的项目中使用。我怎么能使用这些类从我自己的项目?

IL disassembler shows classes in a .Net executable that I would like to use in my project. How could I use those classes from my own project?

推荐答案

从基于Visual Studio项目中添加一个对可执行文件,你应该能够访问公共类,它定义。可执行的是像任何其他的组件。

From your project on Visual Studio add a reference to that executable and you should have access to the public classes it defines. An executable is an assembly like any other.

这篇关于我怎么可以参考类.NET可执行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆