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.
Run the example code from Visual Studio - Visual Basic Tutorial
From the course: Visual Basic Essential Training
Run the example code from Visual Studio
- [Narrator] Now that we've compiled the code, we can run the console application. I could go out to the File Explorer and find the executable there. I can also see the executable in the Solution Explorer by turning on show all files, click this button here, and then our executable is in this bin directory. It's in a subfolder called Debug. Now why it's in this folder is because there's two choices by default for compiling our code. I can do a debug build or a release build. The default is a debug build. That means the executable gets placed in the Debug folder, and then below that is the .net8.0 folder. That's because I chose to compile this to .net8, and inside this is the executable. There it is. Now I could run it from here, but rather than having to use the Solution Explorer and drill down to the correct folder, I can just run it directly from the Debug menu. I'll choose Start Without Debugging. The important word in that menu is start. In other words, run the executable. So…
Contents
-
-
-
-
-
(Locked)
Optimize the Visual Studio settings1m 55s
-
(Locked)
Create a console project in Visual Studio4m 2s
-
(Locked)
Projects and solutions2m 5s
-
(Locked)
Examine the template structure and code1m 45s
-
(Locked)
How the editor enhances our code3m
-
Use the auto suggestions when editing5m 21s
-
(Locked)
Compile the project code2m 9s
-
(Locked)
Run the example code from Visual Studio2m 28s
-
(Locked)
Run the example code with a debugger2m 23s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-