Creating a project with one EXE file and remaining as DLL files
How d开发者_运维知识库o I create a project with one EXE file and the remaining files as DLL files? I have 24 forms in my windows application. I am using VB.NET.
So your question is? Assuming you know how to use Visual Studio go ahead and develop normally, you would need a new project for each physical output file you want to create (.exe or .dll). To choose how each is compiled you right click on the project, choose properties and change output type accordingly:
- Class Library creates a DLL
- Windows Application creates an EXE
You don't mention the reasons behind doing this, if you maybe elaborate more we could probably provide more tailored advice.
Sounds to me like you want to add a Class Library project to you solution and add your other files in there, this will then compile to a .dll as well as your .exe. To add the class library, right click on your solution and choose add new item, then selected class library.
Like the other have mentioned it seems you want to add a class library to your project to make it more manageable. You don't mention if you have any experience in creating class libraries in vb.net or not so I took the liberty of hunting out a tutorial on it here
精彩评论