473,508 Members | 2,337 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't debug unless copylocal=true?

When I set copylocal=false on my project and try to step through it, I
get a file not found on one of my dependencies. The error is thrown
before anything executes. The file is in the referenced path I've set
in Studio. Everything should be fine. However, I can't walk through
until I set copylocal=true.

The program will run either way. It's just an issue when I try to
debug.

Any ideas why the difference and how I can debug with copylocal=false?

Thanks,
Brett

Mar 11 '06 #1
2 1556
Hello Brett,

copylocal=true copy all your references to the ouput directory, because app
uses all related dlls from the local folder.
When u put 'false' dll are in the origin location and you app can't see in
when is running (if your dll are not in GAC)

if u use copylocal=false for some references just install them in GAC

BR> When I set copylocal=false on my project and try to step through it,
BR> I get a file not found on one of my dependencies. The error is
BR> thrown before anything executes. The file is in the referenced path
BR> I've set in Studio. Everything should be fine. However, I can't
BR> walk through until I set copylocal=true.
BR>
BR> The program will run either way. It's just an issue when I try to
BR> debug.
BR>
BR> Any ideas why the difference and how I can debug with
BR> copylocal=false?
BR>
BR> Thanks,
BR> Brett
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Mar 11 '06 #2
I think it is a little different than that Michael. Because VS.NET
does have references to the DLLs that you have added to your project
(you can see this in the configurations or when you add another DLL),
the app does in fact run just fine. The problem is "debugging".

Brett

Mar 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2401
by: johdi | last post by:
Hey there, This is no doubt demonstrating how cruddy my understanding is - what are the performance implications of having left the Debug=true value in your web.config file but not...
12
3394
by: nospam | last post by:
All the documentation says that leaving an ASP.NET application in debug mode has a big performance hit. I can't detect any difference between debug and non-debug modes. Am I missing something or is...
6
1816
by: Luis Esteban Valencia | last post by:
Hi, I want in debug mode debug=true. In release (production), no reason debug to be true but the questions are: 1. Does it slow the application (holding debug=true) 2. If yes, how can I solve...
3
2435
by: ktrvnbq02 | last post by:
Hi, We have an ASP.NET application built in Release mode via Visual Studio. All of the C# code is in the code-behind files (i.e. *.aspx.cs files) and there is no C# in the *.aspx files...
9
1985
by: dee | last post by:
Hi I'm about to upload my site and I have switched to release version. Is that enough or do I still need to disable <compilation defaultLanguage="vb" debug="true" /> the debug="true" in the .pdb...
1
1248
by: Wade | last post by:
Hi all, We have a debate going on here in the office. There's one group that would prefer to have our LIVE environment with debugging turned on, because it's convenient when there's an error,...
0
1158
by: RonL | last post by:
Using Visual Studio, what is the difference between using Configuration Manager to set the Active Solution Configuration to Debug/Release and using Web.config to set Compilation to "debug=true"....
3
3093
by: André | last post by:
Hi, I put that question already, but it's still not very clear to me, so ... Assume following option in web.config= debug="false" but in one aspx page (test.aspx) <%@ debug="true" ..%>
1
973
by: john_c | last post by:
Is setting Debug=true in the config file the same as compiling with the IDE set to debug? Thanks, John
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3194
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1557
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.