|
|
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, a4Next:.net/c# program self-deletion [source code]
|