the caf2code press

How to Setup and Configure Dynamics 365 F&O in Visual Studio

by | D365 F&O

Before you can start developing for D365 Finance and Operations, you need to set up your environment in Visual Studio. If that sounds intimidating, rest assured, it is actually quite simple and will take less than 10 minutes. 

To Set Up Your D365 F&O VS Environment:

1. Right-click on Visual Studio and select “Run as Administrator”.

2. Click on the Dynamics 365 drop down menu on the toolbar and select “Options”.

3. In the popup window, select the following options:

      • In “Text Editor”, select word wrap and line numbers.
      • In “Dynamics 365”, select Best Practices and select each of the following:
          • Microsoft.Dynamics.AX.Framework.BestPracticeFramework.UIRules
          • Microsoft.Dynamics.AX.Framework.CodeStyleRules
          • Microsoft.Dynamics.AX.Framework.DataAccessRules
          • Microsoft.Dynamics.AX.Framework.DataEntityRules
          • Microsoft.Dynamics.AX.Framework.DataMethodRules
          • Microsoft.Dynamics.AX.Framework.DepreciatedElementsRules
          • Microsoft.Dynamics.AX.Framework.MaintainabilityRules
          • Microsoft.Dynamics.AX.Framework.StaticCodeValidationRules
      • In “Dynamics 365”, select Projects and select Organize projects by element type.

4. Click Ok to save your settings.