From the course: Visual Basic Essential Training
Unlock this course with a free trial
Join today to access over 24,500 courses taught by industry experts.
Build and compile the application - Visual Basic Tutorial
From the course: Visual Basic Essential Training
Build and compile the application
- [Instructor] We need to convert this VB text file into a computer binary. That's the job of a compiler. In .NET, we have a build engine that does the compilation and other tasks like restoring code dependencies and packaging the output. The command is dotnet build. You can see it up here. This will work if I'm issuing the command in the same folder as this VB proj file. So let's go ahead and run the command. It's going through the build process. It's compiling our output, and after a few seconds, I see this new folder, this bin directory that stands for binary. So if I drill down into this, I can see the resulting files in this folder. So these are the two files that we're going to talk about. Firstapp.dll and firstapp.xe. When you build the .net console application, two primary types of files are created. There's a DLL, also called the Dynamic Link Library and an EXE or executable file. This EXE is a small executable that starts your application. It serves as the entry point into…
Contents
-
-
-
-
Chapter roadmap4m 33s
-
(Locked)
Set up the tools1m 45s
-
(Locked)
Create a console app1m 46s
-
(Locked)
What files are in the new project2m 23s
-
(Locked)
Build and compile the application2m 10s
-
(Locked)
Run the application4m 49s
-
(Locked)
Work with the console class2m 1s
-
(Locked)
The forgiving nature of VB code2m 2s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-