Click on the Debug menu. You will see Start Debugging (F5) and Start Without Debugging (Ctrl+F5). It is not normal to use the Attach button. What happens when you use Start Debugging (F5) or Start Without Debugging (Ctrl+F5)?
Problem with starting program Visual studio
Hello I have problem with running my Visual Basic source code in Visual Studio.
When I make my mp3 player in visual studio before I have save project I have running him with start button (f5)
but when I have save him and I canot see my design form for my project when I running my program with attachment button.
How to run program normal?
Developer technologies Visual Studio Debugging
2 answers
Sort by: Most helpful
-
-
Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
2021-04-26T12:33:30.683+00:00 Hi @Metox ,
Welcome to Microsoft Q&A forum.
Do you open a whole project or solution(.sln/.xxproj file) in Visual Studio? Sometimes this issue will happen if you only open one file. To run/debug a project you need to open a whole project (File > Open > Project/Solution).
If you also have some other projects in your solution, please try to set the project which you want to run as startup project. (right-click the project > choose
set as StartUp Project
)Perhaps you can share us the screenshot about your project structure in
Solution Explorer
in Visual Studio to confirm this.Best Regards,
Tianyu- If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
- If the answer is helpful, please click "Accept Answer" and upvote it.