可以在Visual Studio 2008中从C#项目中构建2个以上的DLL吗? [英] Can I build 2 or more dlls from C# project in Visual Studio 2008?

查看:158
本文介绍了可以在Visual Studio 2008中从C#项目中构建2个以上的DLL吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因为我正在使用Silverlight创建RIA框架C#。所以我需要使用Silverlight的丰富功能,如动态加载。但是我发现Visual Studio会将所有类库(相同的命名空间或不同的命名空间)合并到一个dll中。

Because I'm working on Creating RIA Framework with Silverlight & C#. So I need to use rich features of Silverlight such as dynamic loading. But I found that Visual Studio will merge all class library(same namespace or difference namespace) into one dll.

你有没有想到从C#项目?我只为1个子页面创建1个项目。所以如果我的解决方案中有100个小页面,我将为这个解决方案创建100多个项目,这是没有意义的。

Do you have any idea to build 2 or more dlls from C# project? I just create 1 project for 1 child page. So If I have 100 child pages in my solution, I will create 100+ projects for this solution that doesn't make sense.

谢谢

推荐答案

只需在您的解决方案中制作其他项目即可获取不同的程序集(dll)。

Just make additional projects within your solution to get different assemblies (dlls).

这篇关于可以在Visual Studio 2008中从C#项目中构建2个以上的DLL吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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