I need to solve an error that says "Please Select a Valid Startup Item" when i try to execute a program in Visual Studio. I am working with C++.
Asked
Active
Viewed 217 times
-2
-
can we see some screenshot – Abhilekh Gautam Nov 18 '21 at 15:23
-
3Does this answer your question? [Please select a valid startup item](https://stackoverflow.com/questions/47622872/please-select-a-valid-startup-item) – Abhilekh Gautam Nov 18 '21 at 15:26
-
Thanks, I solved the problem. – AntoniIsalgue Nov 18 '21 at 15:40
1 Answers
1
Dou you have the c++ compiler pluing for VS? you can install it from the extensions panel in VS The file is in a project? try putting it in one. Are you sure you have a method int main(){reutrn 0;}?
Maybe whit more info i can help you more :)

Omar Barreto
- 46
- 1
- 5