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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Visual Studio Project not Deploying PDB file with DLL

(0) ShareShare
ReportReport
Posted on by 204

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

I have the same question (0)

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans