Answer the question
In order to leave comments, you need to log in
Why does VS run the first file from a project?
Pressing F5 in Visual Studio starts executing the first file created in this project, which is not even open in the application itself. I myself do not write any big programs, but solve programming problems; in connection with which the question is: is it possible to somehow fix this or rewrite tasks in the same file, or to create new projects in VS to test them?
Answer the question
In order to leave comments, you need to log in
Right-click on the project "Make this project the default project"
It is the project that is not resolved
RMB on the project in Solution Explorer -> Set as StartUp Project
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question