I am totally new to C# and have to now support an entire testsuite written in C#. I am using Visual Studio 2013 on Windows 2008 Server.
My issue is the following:
I had a class method with signature
public CommandInfo SetDns(String ipAdr1)
I changed it to add an optional argument
public CommandInfo SetDns(String ipAdr1, String ipAdr2="")
I just rebuilt this DLL and thought that all the other DLL's which refer to this will see no difference
But it seems the older DLL's now fail with error
System.MissingMethodException: Method not found: 'My.TestBeds.CommandInfo My.TestBeds.DDR.Net.SetDns(System.String)'.
My queries:
- Is this expected ? I'll have to rebuild all the DLL's as well ?
The trouble I have is that I have to check-in the DLL's too due to some constraint. So I wanted to rebuild and check-in the relevant ones only :(
- If I have to rebuild all the other dll's as well, is there a way to know which DLL's have this one as reference and need rebuilt ?