Monday, November 28, 2016

MS Dynamics 365 - Configure Visual Studio for better expereince

Few settings to configure in Microsoft Visual Studio to make the development experience with AX a little smoother.

Go to Dynamics 365 Options

Set Projects Options - organize project by element type

Set Text Editor Options - Line number and word wrap

Set Best practice options

The definition of best practice rules set is per model, by default it is set to Application Common model and can be switched between different models from the combo box in the upper right corner.

Let's say if you are working with Customization Analysis you have to check Microsoft.Dynamics.AX.Framework.CustomizationAnalysisRules best practice rule.

Set BP rules at Build level

Build process itself does BP checking - there is an option to enable it. To take this into effect you might have to rebuild the solution/project rather build it.