473,383 Members | 1,762 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 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 1845
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steve | last post by:
Error message: "Unable to start debugging on the web server. Unable to map the debug start page to a machine name." I can no longer run the debugger from my local PC for a project on our web...
2
by: PJ | last post by:
I'm at the end of my rope, I've tried everything I can think of and, while the problem is all over google, no answer has worked for me. I'm getting the following error while trying to start my web...
16
by: Dean R. Henderson | last post by:
I have a project built for ASP.NET that recently started running really slow in debug mode (it takes about 10 seconds or more to step from one line of code to the next). This just started...
1
by: John Holmes | last post by:
My application is ready to deploy and I've set debug=false in the web.config file and configured the app for release mode. When I try to run the app from the IDE, I get the following error message:...
2
by: Steve | last post by:
Error message: "Unable to start debugging on the web server. Unable to map the debug start page to a machine name." I can no longer run the debugger from my local PC for a project on our web...
4
by: Randall Parker | last post by:
XP Home does not come with IIS. Can one use VS 2003 or some other tool to view aspx pages one is developing and do that on XP Home without having IIS on the machine?
8
by: vtxr1300 | last post by:
I've followed 2 very similar tutorials on creating a windows service and an installer. But, after successfully compiling it, I try to do the InstallUtil command, but I get a...
8
by: Jothishankar | last post by:
Hi, I am new to c#. I am trying to build an application that does backup of files to an external hard disk. My application behaves strangely. When i run the application under debug mode (F5),...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.