Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Visual Studio Project not Deploying PDB file with DLL

(0) ShareShare
ReportReport
Posted on by 200

I am unable to debug c# code due to missing symbols.  The reason is because of a missing PDB file. Here is what I do:

  1. Build and Deploy the visual studio project
  2. Compile the VS project from the AOT
  3. Restart the AX Client (With hot swapping turned on)
    1. This puts the newly compiled DLL into my users VSAssemblies directory
      1. user\AppData\Local\Microsoft\Dynamics AX\VSAssemblies{GUID}
    2. It ONLY puts the DLL, not the PDB file

Ideally, the client startup process that is deploying the hotswapped DLL to my VSAssembly folder should also deploy the matching PDB. Instead, I need to close the ax client again, and add the Matching DLL and PDB file from my projects BIN folder to the VS Assembly folder and then and only then can I debug in Visual Studio. 

Am I missing a parameter somewhere?  Configs are all set to debug on client, debug on server.  Debug target in VS project was both Client and Server with no success.  Any help would be appreciated.  At this point its just a major annoyance

AX 2012 R3 CU13

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans