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 CRM (Archived)

Unable debug plugin due DLL merge using ILRepack

(0) ShareShare
ReportReport
Posted on by 522

Hi Folks,

We are using ILRepack for merging common libraries into the plugin and custom workflow. 

The system is working fine without any issue, But when it comes to debugging through plugin profile then it doesn't debug.

I can see the only DLL is merging but seems PDB file is not merging to a main plugin PDB file.

When I try to debug from profiler debugger points are not hitting and PDB file issue,

Below is profile log file and it executed without any error.

pastedimage1569222406859v1.png

Any help or clue to merge PDB file appreciated.

Thanks in Advance.

Nausher

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi,

    I think you don't need to merge any PDB file. I think you need to have the PDB file from your merged DLL on the same folder of your main DLL (the one you are debugging).

  • Nausher Sayeed Profile Picture
    522 on at

    Thanks Joana for your reply.

    No for debugging we need to merge.

    The problem get solved by merging the PDB file of the latest version of ILRepack.Lib.MSBuild.Task(2.0.17)

  • Suggested answer
    MarkusvonKoenig Profile Picture
    on at

    In the ILRepack.Lib.MSBuild.Task set DebugInfo to true to create a pdb file with the output file.

    2021_2D00_09_2D00_20-23_5F00_21_5F00_16_2D00_MR-Desktop-_2800_1_2900_-_2D00_-Desktop-Viewer.png

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans