How to remove debug version of vsto addlook?

I built outlook addin and I would like remote debugging to be done inside vm on my dev machine (vm is xpsp3 x32 and Outlook 2010, my dev machine is 7 x64 with Outlook 2007)

I (after quite a lot of mess with user accounts, etc.) got remote debugging working between vs2010 and the virtual field vm. I can connect to a simple test application and set breakpoints and they fall.

However, I cannot do the same with Outlook. I can't just connect to the outlook.exe process running on the machine, as it does not seem to load addin modules, so breakpoints never hit.

I can’t understand how to get VS2010 to launch the appearance on a remote computer from a locally created project, I tried to execute these msdn docs, but the instructions for setting up the working directory did not seem to work, so if I install it as an example and start debugging , a message appears stating that the folder does not exist.

If instead I set the "Start" action in the debugging properties for the addlook project for Outlook, "Start an external program" and specify it in the outlook exe, then VS2010 will launch the application successfully, however the breakpoints will not be deleted, even though it seems that they were successfully installed.

Has anyone been successful in remote debugging of vsto addins? What am I doing wrong?

+5
1

, , - , :

  • VSTO .

    MessageBox.Show("Debug"); 
    
  • , Outlook MessageBox

  • Visual Studio .
  • - MessageBox
  • Visual Studio Debug/Attach to Process Outlook, .
  • MessageBox, 1.
  • , 5,
+3

All Articles