471,334 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,334 software developers and data experts.

Can't start program in debug mode

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.For m1.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
Feb 13 '06 #1
3 1784
Michael J Cohen wrote:
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.For m1.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

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Feb 14 '06 #2
On Tue, 14 Feb 2006 00:53:15 -0800, "Frans Bouma [C# MVP]"
<pe******************@xs4all.nl> wrote:
Michael J Cohen wrote:
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.For m1.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

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
Feb 15 '06 #3
Michael J Cohen wrote:
On Tue, 14 Feb 2006 00:53:15 -0800, "Frans Bouma [C# MVP]"
<pe******************@xs4all.nl> wrote:
Michael J Cohen wrote:
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.For m1.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

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

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Feb 15 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by John Holmes | last post: by
2 posts views Thread by Steve | last post: by
4 posts views Thread by Randall Parker | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.