Manish kosta
Manish kosta

Reputation: 91

How to create DLL in VB.NET

I am using VB.NET 2008, and I want to make a DLL that will be used in a C# project.

Upvotes: 5

Views: 33003

Answers (3)

Fenton
Fenton

Reputation: 251242

When you build your class library in Visual Studio, it will generate the DLL for you and place it in the bin directory.

YourProject/bin/Debug/YourProject.dll
YourProject/bin/Release/YourProject.dll

It will be placed in the folder that represents your build-mode (Debug / Release), which you can normally switch in your toolbar.

Upvotes: 3

eidylon
eidylon

Reputation: 7238

Go to File > New Project and select Visual Basic, Class Library as the project type.
Enter your solution name and directory, and click on OK.
Voila!

Once you code your library and build it, you can go add it to your references in your C# project.

Upvotes: 2

Hans Olsson
Hans Olsson

Reputation: 55059

Just select a Class library as the project type.

Upvotes: 0

Related Questions