❔ Output Type cannot be started directly problem
I cant run my project is there anyone to help me?
11 Replies
You can't run a library
You need e.g. a console project to run
Or a web server, or a gui app
that is weird because before that did not happen after i origanize my code than it happen
How many projects do you have in your solution?
3
porgram.cs inclusive
.cs file are not projects
1 project
they probably just chose the wrong project type
just add
<OutputType>Exe</OutputType>
in the project fileSo you only have one project, it must be the wrong type. I guess you manually created the program.cs?
no i had program cs before that
where
*.csproj
is the project file
*.sln
is the solution fileWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.