Languages

Visual Studio - Please select a valid startup item

3 points
Asked by:
Zeeshan-Peel
850

I've been trying to use AForge.NET framework, but Visual Studio keeps showing me this notification. How can I get rid of this and run the project?

Microsoft Visual Studio - Please select a valid startup item
Microsoft Visual Studio - Please select a valid startup item

I want to run some examples such as Program.cs in ParallelTest directory:

Microsoft Visual Studio - Solution Explorer - example .cs file
Microsoft Visual Studio - Solution Explorer - example .cs file
1 answer
3 points
Answered by:
Zeeshan-Peel
850

You have to run one of the .sln files instead of Program.cs. As I suppose you are Windows user, so open ParallelTest.sln file.

Visual Studio (Solution Explorer) - example .sln files
Visual Studio (Solution Explorer) - example .sln files

You will probably get the permission warning too, so you need to restart VS under different credentials.

Visual Studio - permission warning
CVisual Studio - permission warning
0 comments Add comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join