Run python code without create/open a project

Metehan Selvi 1 Reputation point
2022-05-24T17:49:58.83+00:00

In VS 2019, I was can run python code with debugging by "right-click > open with VS > run with debugging". But now, in the VS 2022, I have to create/open a project to run my codes, how can I run a single code without a project solution?

VS 2022: Project
205177-start-is-active.png

VS 2022: Single file
205232-start-is-inactive.png

Developer technologies | Visual Studio | Debugging
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.