开发者

Class Library project (C#) - Treat each folder into individual dll file

开发者 https://www.devze.com 2023-04-06 08:26 出处:网络
I have a structure like; -MyProject -Folder1 -Class1.cs -Folder2 -Class2.cs What I would like to do is when I co开发者_开发知识库mpile my solution, all of the folders are output into the separate

I have a structure like;

-MyProject

  -Folder1
    -Class1.cs

  -Folder2
    -Class2.cs

What I would like to do is when I co开发者_开发知识库mpile my solution, all of the folders are output into the separate dll like;

MyProject.Folder1.dll

MyProject.Folder2.dll

Is this possible?

Thanks in advance.

PS: I am using VS 2010.


You can separate each class to separate project. To add a main project whitch will be referenced to small project

  1. Class 1 - Project 1 - Folder1/class1.dll\
  2. Class 2 - Project 2 - Folder2/class2.dll
0

精彩评论

暂无评论...
验证码 换一张
取 消