AX / D365FO – Disable best practice rules while compiling in Visual Studio

By default Visual studio has several build rules, including best practice checking.

Very often it signals you that you need to write method documentation or comment your lines of code.

We don’t always want this to be reported to us, so if we want to disable these warnings we need to disable this setting.
To do this, follow these instructions

  • Open Visual Studio options in the Dynamics 365 tab

Open Dynamics 365 > Best Practices

Choose “Application Common” > Microsoft.Dynammics.AX.Framework.CodeStyleRules and uncheck “XMLDocumentationRules”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s