You are debugging a .NET Framework remoting application in Microsoft Visual Studio 2005.
Your solution contains three projects as follows:
SimpleMathLib is a class library project.
SimpleMathLib contains the remoting classes that will compile to a common assembly.
SimpleMathHost is a Windows service project.
SimpleMathHost is installed on your computer and it hosts SimpleMathLib.
SimpleMathClient is a Windows Forms application project.
SimpleMathClient is the remoting client application.
When you run the SimpleMathClient application, you receive an error message.
You set a breakpoint in the SimpleMathLib class library where you suspect the error.
When you run SimpleMathClient in the debugger, the error occurs again, and the debugger does not stop on the breakpoint.
You confirm that the breakpoint has been configured correctly.
You need to ensure that you can hit the breakpoint and step through the code.
What should you do?
A.
Copy the SimpleMathLib.dll file to the global assembly cache and copy the SimpleMathLib.pdb file to the root folder on the system drive.
B.
Copy the SimpleMathLib.pdb file from the SimpleMathLib project folder to the folder in which SimpleMathHost.exe is installed.
C.
Attach to the SimpleMathHost.exe process.
D.
Attach to the w3wp.exe process.