This article is a mirror article of machine translation, please click here to jump to the original article.

View: 32536|Reply: 2

[Source] Visual Studio cannot start debugging. Please generate the project and try again, or accordingly...

[Copy link]
Posted on 8/18/2017 2:07:37 PM | | | |
---------------------------
Microsoft Visual Studio
---------------------------
Visual Studio can't start debugging because the debug target "C:\project\MyProjects\www_itsvse_com\bin\x86\Release\xxx.exe" is missing. Build the project and try again, or set the OutputPath and AssemblyName properties accordingly so that it points to the correct location of the target assembly.
---------------------------
Are you sure   
---------------------------



If you click Clean, and then Ctrl+F5 starts, it will report the same error as above.

Baidu on the Internet, I found that 100% of the tutorials on the Internet are how to reset vs the C# environment.

I really want to scold the author who wrote the original text at the beginning, and he made a mistake.As a result, many people reprint it mindlessly like a stupid X, all of which are spam articles

Under my same solution, other projects can run and debug normally, why can't this project alone?

If it's the vs. environment setting, why do other projects work fine??? Obviously, it is not caused by VS settings, it must be something wrong with the settings of this project

In the end, I found a trick in the SLN solution

The project settings that work properly are as follows:

{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Debug| Any CPU. ActiveCfg = Debug| Any CPU
{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Debug| Any CPU. Build.0 = Debug| Any CPU
{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Debug| Mixed Platforms.ActiveCfg = Debug| Any CPU
{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Debug| Mixed Platforms.Build.0 = Debug| Any CPU
{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Debug|x86. ActiveCfg = Debug|x86
{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Debug|x86. Build.0 = Debug|x86
{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Release| Any CPU. ActiveCfg = Release| Any CPU
{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Release| Any CPU. Build.0 = Release| Any CPU
{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Release| Mixed Platforms.ActiveCfg = Release| Any CPU
{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Release| Mixed Platforms.Build.0 = Release| Any CPU
{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Release|x86. ActiveCfg = Release|x86
{1848A7CB-EFE6-44A3-9F94-4A50FEC02C80}. Release|x86. Build.0 = Release|x86


The project I ran debug error with is set as follows:

{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug| Any CPU. ActiveCfg = Debug| Any CPU
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug| Any CPU. Build.0 = Debug| Any CPU
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug| Mixed Platforms.ActiveCfg = Debug|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug| Mixed Platforms.Build.0 = Debug|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug|x86. ActiveCfg = Debug|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug|x86. Build.0 = Debug|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Release| Any CPU. ActiveCfg = Release| Any CPU
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Release| Any CPU. Build.0 = Release| Any CPU
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Release| Mixed Platforms.ActiveCfg = Release|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Release| Mixed Platforms.Build.0 = Release|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Release|x86. ActiveCfg = Release|x86


Found anything?????

Projects that cannot be run are one less code. Release|x86. Build.0 = Release|x86", turn off VS first, in the SLN solution, supplement, perfectly solved!!!

The complete supplement is as follows:

{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug| Any CPU. ActiveCfg = Debug| Any CPU
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug| Any CPU. Build.0 = Debug| Any CPU
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug| Mixed Platforms.ActiveCfg = Debug|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug| Mixed Platforms.Build.0 = Debug|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug|x86. ActiveCfg = Debug|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Debug|x86. Build.0 = Debug|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Release| Any CPU. ActiveCfg = Release| Any CPU
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Release| Any CPU. Build.0 = Release| Any CPU
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Release| Mixed Platforms.ActiveCfg = Release|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Release| Mixed Platforms.Build.0 = Release|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Release|x86. ActiveCfg = Release|x86
{5A8010E4-1557-46C4-8ACE-CA2D294F34EC}. Release|x86. Build.0 = Release|x86







Previous:Sort strings a10, a2, a3, a6, a5, a4
Next:.net/c# program self-deletion [source code]
Posted on 8/18/2017 3:57:25 PM |
Posted on 9/1/2017 1:11:22 PM |
Reply and see!
- This article is from the architect, the original address: https://www.itsvse.com/thread-3653-1-1.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com