任何工具来刮C#code,并产生一个DLL的空壳? [英] Any tool to scrape C# code and produce empty shell of a DLL?

查看:214
本文介绍了任何工具来刮C#code,并产生一个DLL的空壳?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在包含多个文件,类和层次结构的级别项目code。其中一件事我让高级用户做的是结合并使用动态编译,反射等叫我内心的方法。它完美的作品。对我来说是很容易的,因为我控制项目,并知道什么是存在的。然而,他们没有对这种溶液的来源。

I have code in a project that contains many files, classes, and levels of hierarchy. One of the things I let the advanced user do is bind to and call my inner methods using dynamic compiling, reflection, and so on. It works perfectly. For me it is really easy because I control the project and know what is there. However, they do not have the source for this solution.

因此​​,我希望做一个空DLL因为没有更好的术语,显示方法,类层次结构的,并且是智能感知(Visual Studio中)与元数据我有兼容。在此DLL中没有实际功能,但如果我是将其添加为Visual Studio项目我可以参照那么反对code。

So I am looking to make an "empty DLL" for lack of a better term that shows the methods, classes, hierarchy, and is intellisense (Visual Studio) compatible with the meta data I have. No actual functionality in this DLL, but if I were to add it as a reference in a Visual Studio project I could then code against it.

如果有另一种方式来做到这一点,我所有的耳朵。我找了一个智能感知兼容的API生成我想。

If there is another way to accomplish this I am all ears. I am looking for an Intellisense compatible API generator I suppose.

推荐答案

答案是你可以用EXE作为不正是我想要什么样的参考。

The answer is you can use the EXE as a reference which does exactly what I want.

这篇关于任何工具来刮C#code,并产生一个DLL的空壳?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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