I have written a c# com-enabled dll using VS2008. The dll works fine.
However, in recent attempts to add to the dll, I am getting strange things that I believe are caused by some sort of corruption.
In essence, when I add variables to a method, they will not instanstiate, though the original variables are fine. For example, in this code snippet,
public int CreateXML(ref string ErrMess)
string phase = "";
string whatever = "";
whatever = "1";
MessageBox.Show("Remove this readxml which is for testing changes only");
if you hover over "phase" or look at it in the immediate window it is instantiated and holds the value of an empty string.
If you hover or "whatever" you get nothing, and the immediate window returns "The name 'whatever' does not exist in the current contextt".
This probelm occurs on at least two different methods within the dll.
I have tried a Clean then Build without any luck. I have compeletely deleted the bin folders and then done a Build, no luck. I have tried writing a new method, no luck. I have done the same for the app that calls the dll, no luck.