Share via


Visual studio cannot start debugging because the debug target ______ is missing

Question

Monday, January 15, 2018 12:39 PM

Good day guys

I am having a problem running my Windows Application Forms in Visual Basic. It keeps on giving me this error: Visual Studio cannot start debugging because the debug target ( My location for saving files\Projects\WindowsApplication2\bin\Debug\WindowsApplication2.exe) is mission. Please build the project and retry, or set the OutputPath and AssemblyName properties appropraitely to point at the correct loation for the target assembly.

I have tried to build the project but i cant get anything from it. Can someone please assist me with steps to solve this issue. I am using Visual Basic/ Visual Studio 2013

Thank you

All replies (6)

Tuesday, January 16, 2018 6:45 AM âś…Answered

Welcome to this forum.

Please make sure that output path of project is correct (Project > Properties > Build > Output path)

Go to Build > Configuration Manager, and make sure the project has selected the Build.

Then rebuild the project and see.

 

Regards,

Fletcher

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


Tuesday, January 16, 2018 11:49 AM

hi Fletcher

Thanks for the help. I managed to fix it with the solution. One more thing, what version of Python do i need to run it with Visual Studio? 

I have Python 3.6 at the moment but as soon as i want to open it via visual basic i get the error: Unsupported Python version 3.6

Thank you


Wednesday, January 17, 2018 2:20 AM

>>I have Python 3.6 at the moment but as soon as i want to open it via visual basic i get the error: Unsupported Python version 3.6

May I ask you which version of Visual Studio you are using,  VS2017 or VS2015 ?

For Visual Studio 2015 and earlier you need to separately install a Python interpreter of your choice (Python 3.5 and earlier; 3.6 is not supported and will generate the message "Unsupported Python version 3.6").

/en-us/visualstudio/python/installation

You are welcome to post another thread for this different topic if have any other question.

 

Regards,

Fletcher

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


Wednesday, January 17, 2018 5:09 AM

hi 

I am using VS2013. Don't know if that might be a problem.

Thank you


Wednesday, January 17, 2018 8:06 AM

Reference link:

/en-us/visualstudio/python/installation#visual-studio-2013-and-earlier

Hope it helps. 

 

Regards,

Fletcher

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


Tuesday, November 26, 2019 11:11 AM

Possible VS 2019 Solution

Right Click on Solution Properties
Go under Common Properties> Startup Project
Set Single startup project

Right Click on Project Properties
Click Application
Set Application Type to Windows Forms Application or Console Application or Windows Service or 
Click Startup Object
Set to Anything Other than (None) 

Left Click on Project Properties
Set Copy Build Output to Output to True

Then Run

Hopefully that works for you