Visual Studio Projects In Dynamics 365 for Finance and Operations

Visual Studio Projects In Dynamics 365 for Finance and Operations

With Dynamics 365 for Finance and Operations(D365FO)/Dynamics 365 Unified Operations Visual Studio 2015 (Premium, Professional or Enterprise Edition) is the primary integrated development environment (IDE), and the MorphX studio has been deprecated.

Organizing Development Objects in Visual Studio:

With Visual Studio being the primary IDE for development, there is a lot of flexibility that’s being offered with regards to organizing the D365FO development objects.

The following are the list of take-away points when it comes to organizing D365FO development objects in Visual Studio projects:

1. Build a single project and add all the development objects into the same Visual Studio project. This is as depicted in the figure below (Fig 1 – Organizing development objects in a Dynamics 365 for Finance and Operations Visual Studio project).

          Fig 1 – Organizing Development Objects In A Dynamics 365 for Finance and Operations Visual Studio Project

For example, if you are working on an Agile project, then you can organize the objects in Visual studio in a single project that is demo development.

Use a format:

 <LegalEntity><ActivityorTaskName><ModelName><IncidentNumber>/<LegalEntity><ActivityOrTaskName><IncidentNumber>

2.  Do not create multiple projects for each new task in the project. This makes it easy to do the build from the development environment onto the test/sandbox environment. Creating multiple projects for each task adds complexity to deployments from a development machine to a test machine.

3.  Create objects that will be re-used like Data Types, Base Enums outside of the activity/task specific folder. For example, Create the re-useable objects outside the repository:

 <LegalEntity><ActivityorTaskName><ModelName><IncidentNumber>/<LegalEntity><ActivityOrTaskName><IncidentNumber>

Conclusion:

Manage all the D365FO implementation activities inside a single Visual Studio project.

References:
https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/dev-tools/developer-home-page

Disclaimer: The Questions and Answers provided on https://www.gigxp.com are for general information purposes only. We make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose.
Avatar

Navneeth Nagrajan is a Technology Specialist at Deloitte Australia focussing on design, development, integration, and implementation of the Microsoft Power Platform (primarily PowerBI, Common Data Service and Flow) and Dynamics 365 for Finance and Operations ERP. Other areas of focus include Azure DevOps, Github (related to Dynamics 365 for Finance and Operations deployments), and Dynamics Lifecycle Services.Profile:Twitter: http://www.twitter.com/nav21n LinkedIn: https://www.linkedin.com/in/navneeth-nagrajan-94a9aa5/