473,387 Members | 1,529 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,387 software developers and data experts.

Compilation/Debugging trouble

I am having some trouble debugging a project that is set up to be Registered
as COM Interop. I will try to explain the problem here:

If I add some code to the project, to for example the xxx.cs source file,
when I compile it seems to go okay, no errors or warnings, but when I try to
debug the project afterwards it acts as if it has not compiled the newly
added code, and it has NOT either, it is jumping over code lines and showing
inconsistency between my code lines, and if I add code like
Debug.WriteLine("something"); the text does not show up in my output window
when that code is executed. To me it looks as though it uses the source code
for a compilation a while back, and that more than confirmed my thought when
I tried to move the project to another location on my disk, and compiled
again. Before doing this I had unregistered the assembly in the first
location by using the regasm utility. After the first compilation after
moving the project to another physical location on the disk, it compiled my
new code, then I tried to add some more code to the project in the second
location, now the source file which I just added some new code to are again
unsynchronized. Now I went back to the first location after manually
unregistering the assemblies in the second location, when I now try to debug
the code in the first location it is actually retrieving the file from the
second location.

Regards,

Kenneth Myrha
Nov 15 '05 #1
0 949

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

Similar topics

5
by: saravanan.linux | last post by:
Hi, Is there any way to find out, whether the executable is compiled with -g option enabled? ThankX in advace.
1
by: Optimus | last post by:
When I got vs.net 2005 Beta 2 installed in my PC, It was getting trouble with debugging in 2003. When I pressed F5 it said "Unable to start debugging on the web server. Could not start ASP.NET...
3
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...
5
by: Rob | last post by:
By default, the web.config file of an ASP.NET application contains the following debug attribute for the compilation element: <compilation debug="true"/> My question is this: When doing the...
3
by: Robert | last post by:
I have a number of web projects converted from 1.1 to 2.0 in VS2005. I am methodically seeing the error below: The element 'compilation' has invalid child element 'compilers'. List of...
1
by: Mark Olbert | last post by:
I don't know if these two problems are related or if they're independent. In moving my site to a production server I discovered that I had enabled T-SQL debugging and forgotten to turn it off (I'm...
1
by: Giulio Petrucci | last post by:
Good morning everybody, I have been dealing with this strange issue for almost two days: I got stuck and I can't get out of it. I built up for the first time in my life (I'm quite new in stuff...
35
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files....
4
by: ian | last post by:
A few weeks ago I was able to run remote debugging from my local machine (VS 2005 XP sp2) but now I get the following message: unable to start debugging on the web server. logon failure: unknown...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.