Setup and Configuration of Visual Studio that will make
the development experience with AX a little smoother.
1. Organize projects by element type: The first option we want to set is to organize projects by
element type. To do this, we'll go to the Dynamics AX menu and we'll
choose options. In the left navigation pane, under the Dynamics AX group,
we want to expand that and choose projects. The first checkbox says
organize projects by element type. We want to make sure this is checked
so that when we create projects and we add elements, they're organized and
easier to find.
2. Line numbers & Word wrap:
The next setting from the same options is in the text editor group. So
we'll expand this and we'll go to all languages. We want to make sure
that line numbers checkbox is enabled so that in our text and code editors, we
can see the line numbers. This makes it easier for development and
debugging and also make sure that Word
wrap checkbox is enabled
4. Best Practice:
a)
Under Dynamics 'AX
7', select the Best Practices node.
b)
Select Microsoft.Dynamics.AX.Framework.BestPracticeFramework.UIRules.
c)
Make sure that Microsoft.Dynamics.AX.Framework.CodeStyleRules
is selected.
d)
Select Microsoft.Dynamics.AX.Framework.DataAccessRules.
e)
Select Microsoft.Dynamics.AX.Framework.DataEntityRules.
f)
Make sure that Microsoft.Dynamics.AX.Framework.DeprectatedElementsRules
is selected.
g)
Make sure that Microsoft.Dynamics.AX.Framework.MaintabilityRules
is selected.
h)
Select Microsoft.Dynamics.AX.Framework.StaticCodeValidationRules.
Then we'll
restart Visual Studio to make sure our changes are taking effect.
No comments:
Post a Comment