Can't start program in debug mode

M

Michael J Cohen

I am developing an application using C# Express and last night a
strange event occurred. For no apparent reason, I am receiving error
messages such as:

Error 1 Unable to copy file
"obj\Release\PBScheduler.Form1.resources" to
"obj\Debug\PBScheduler.obj.Release.PBScheduler.Form1.resources". Could
not find file 'obj\Release\PBScheduler.Form1.resources'. PBScheduler

There are six in total of similar type. A setting must have changed
but I am not sure how. Anybody have any ideas?

Thanks, MJC
 
F

Frans Bouma [C# MVP]

Michael said:
I am developing an application using C# Express and last night a
strange event occurred. For no apparent reason, I am receiving error
messages such as:

Error 1 Unable to copy file
"obj\Release\PBScheduler.Form1.resources" to
"obj\Debug\PBScheduler.obj.Release.PBScheduler.Form1.resources". Could
not find file 'obj\Release\PBScheduler.Form1.resources'. PBScheduler

There are six in total of similar type. A setting must have changed
but I am not sure how. Anybody have any ideas?

open build -> configuration manager and select 'Debug' instead of
'Release' and rebuild. Also make sure that when you rebuild no other
instances of your program are running so all files can be overwritten.

FB

--
 
M

Michael J Cohen

open build -> configuration manager and select 'Debug' instead of
'Release' and rebuild. Also make sure that when you rebuild no other
instances of your program are running so all files can be overwritten.

FB
Frans,

Thanks for your reply. I am unable to find the menu item or toolbar
selection to get to the configuration manager. I tried using
Microsoft help, but I don't seem to have the menu or toolbar choices
it describes.

MJ Cohen
 
F

Frans Bouma [C# MVP]

Michael said:
Could >> not find file 'obj\Release\PBScheduler.Form1.resources'.
PBScheduler >>
changed >> but I am not sure how. Anybody have any ideas?
Frans,

Thanks for your reply. I am unable to find the menu item or toolbar
selection to get to the configuration manager. I tried using
Microsoft help, but I don't seem to have the menu or toolbar choices
it describes.

Load the project, then you'll see the Build menu and at the bottom the
configuration manager option, in that build menu.

FB

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top