Platform: PPC, Windows Mobile 2003
Environment: VS.NET 2003, .NET Compact Framework v1.1, SP2
Language: C#
Background: I'm using a .NET executable assembly to dynamically load a .NET DLL assembly, using Assembly.Load(). Everything works fine, except I can't debug into this DLL, because the symbol file for the DLL is not being loaded correctly. Could this be a known problem, or am I doing something wrong? Here are the two specific questions that I would like to ask:
1. First, when trying to debug the DLL by setting the project properties "Debug Mode" to "Program" and pointing the "Start Application" to the executable on the local machine, I continue to get an error message saying that a class library cannot be started direcly. I have remote debugging set to true.
2. Also, by looking at the Modules window while the DLL's symbols are being loaded, the path is pointing to the correct location only when the deployment output directory of the project is pointing to the root directory of the PPC. If the deployment output directory is anything else, the path where it is looking for the PDB file on the local machine is incorrect. Even when the path is correct to the PDB file, it still doesn't load.
In short, I can't debug a dynamically loaded .NET assembly. Any help with either of these issues will be appreciated.