如何在一个dll文件中收集项目的所有代码? [英] how to collect the all code of my project in one dll file ?

查看:112
本文介绍了如何在一个dll文件中收集项目的所有代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如果我有一些项目,无论是桌面项目还是Web项目,
我现在要如何在一个dll文件中收集项目的所有代码?

Hi every body,

If i have some project whatever it was desktop project or web project,
I want to now how to collect the all code of my project in one dll file ?

推荐答案

创建一个单独的类库项目&然后将所有类文件包含在该项目中,然后就可以与您的项目(如网站,Web应用程序)一起使用.通过此链接.

使用Visual Studio .NET创建C#类库(DLL) [
Create a separate Class Library project & then include all your class files in this project then you can use with your projects like website, web applications.,..Go through this link.

Creating C# Class Library (DLL) Using Visual Studio .NET[^]


假设这是C#,请将所有类放在一个DLL项目中,它将为您提供一个DLL.
Assuming this is C#, put all your classes in a single DLL project and it''ll give you a single DLL.


这篇关于如何在一个dll文件中收集项目的所有代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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