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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,017 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans