VB.net ArcMap AddIn migrated to 10.7 does not stop at Debug

405
1
06-18-2020 08:02 AM
JoseSanchez
Occasional Contributor III

Hello everyone,

Configuration:

 - AddIn Editor extension

 - VS Visual Basic  2017

-  ArcGIS 10.7.1

I migrated a Vb.Net ArcMap AddIn application to a new desktop with ArcGIS 10.7.1 and VS 2017, and installed ArcObjects_SDK_for_NET_Framework_1071_169617.

The addIn is not working, so I am trying to debug it.

When I run the .Net application in Debug mode, as soon as ArcMap starts opening (splash  screen),  breakpoints change from a solid red circle and a hollow (white filled) circle. 

I also tried to display a msgbox on  event " Protected Overrides Sub OnStartup()" when the editor is loaded and it does not show. 

What else can I check.

Please advice

0 Kudos
1 Reply
JoseSanchez
Occasional Contributor III

This is what I did to fix it:

  1. I created a new ArcMap AddIN project  in VB.Net 2017 using  template Desktop-Add-ins--> ArcMapAdd-In
  2. Run it once adn it worlked
  3. compared all option for the new working version with my existing project and in the Debug for solution platmfosm I selected "Any CPU"
  4. The tested again, it worked  once and it stopped working. 
  5. After reading other posts, one recommended to reboot my workstation
  6. It works now
0 Kudos