Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Encountered the error:
MSIL
visual studio cannot start debugging because the debug target C:\Phil\AppData\Local\Temporary Projects\WindowsApplication1.exe is missing

while coding a basic game. Not experienced enough to understand what might have caused the error and how it might be corrected. Guidance sought.
Posted
Comments
Sergey Alexandrovich Kryukov 25-Jul-11 12:26pm    
And why the directory is missing? Do you confirm it? How come? Did you try to make another solution from scratch. Did you do save solution as? project?
--SA
mauricemcse 28-Jul-11 16:55pm    
Note: I did click the categorize button.

Usually, this occurs when the code doesn't compile !

Check for syntax errors...
 
Share this answer
 
Please check your code...

Or i think you might have changed the project property....

Try rebuilding your application....
 
Share this answer
 
v2
Sounds like it was never built. Go under Build -> "Build (project name)" or "Build Solution" and then try again.
 
Share this answer
 
Comments
mauricemcse 28-Jul-11 16:57pm    
Note I did click the categorize button... no change
lewax00 28-Jul-11 17:05pm    
The properties box is empty by default unless you select a file, or something else which has properties to display. If you're trying to view the project/solution properties you'll have to right click it and select properties form the context menu.
Error 2: insert a comma between Me.Width and Me.Height
Error 3: insert a space between Do and While
Error 4: remove "as". You can also remove the redundant "= True" and the parenthesis
 
Share this answer
 
Much thanks for your reply. Regrettably, both the debug and build options lead to the same error. Image is uploaded https://skydrive.live.com/?cid=63220807a7f4accb&sc=photos#cid=63220807A7F4ACCB&id=63220807A7F4ACCB%213784&sc=photos[^]
 
Share this answer
 
Comments
Philippe Mori 25-Jul-11 20:36pm    
In the bottom of the image, you can see that there are 4 errors. You must correct them first. Double click on each error and fix the code at that location. Where no errors remain, your application will correctly build and you will be able to run it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900