web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to debug Dynamics Developer Tools Add-in?

(0) ShareShare
ReportReport
Posted on by 35

Good day all!

I'm working on specific Add-ins in Visual Studio. It should helpful for our team.

I'm talking about https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/dev-tools/developer-tools-add-ins

But, I faced with trouble that I can't debug it.

Maybe someone could share information how to do it?

Thanks!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    Simply using Debug > Start debugging should start a new instance of Visual Studio with the add-in loaded and attach the debugger to it.

  • Oleg_Sokol Profile Picture
    35 on at

    6165.error.jpgMartin, when I'm trying to do with - I get an error "A project with Type of Class Library cannot be started directly.   In order to debug this project, add an executable project to this solution which reference the library project. Set the executable project as the startup project"

  • Verified answer
    Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    Hmm, weird. Maybe it's not a normal VS add-in project and I've already forgot about it. It's some time since I've played with it last time.

    All right, do the steps manually: start another instance of Visual Studio with the add-in and use Debug > Attach to process to attach the debugger of your VS instance to it.

  • Oleg_Sokol Profile Picture
    35 on at

    Martin! Thanks a lot! It works in this way

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans