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.

Navneeth Nagrajan is a Technical Consultant at Avanade Australia focusing on implementation, pre-sales and support of Microsoft Dynamics 365 for Operations/ Microsoft Dynamics Ax ERP. Before Avanade, Navneeth worked as a Solutions Consultant at LM WindPower focusing on implementation and support of Microsoft Dynamics Ax Enterprise Resource Planning solution. Prior to LM WindPower, he worked as a Lead Consultant for ITC Infotech India Limited focusing on Enterprise Solutions like Microsoft Dynamics AX & Microsoft Dynamics CRM. He has worked for Microsoft as a Partner Technical Consultant. His primary focus area is Microsoft Dynamics AX and he specializes on Trade & Logistics, CRM, Service Management and Project Management functionalities. His secondary focus area is Microsoft Dynamics CRM and he specializes on Sales Management, Marketing Management and Service Management sections. He has successfully assisted more than 100 Microsoft partners and customers. At Microsoft, He has successfully written and published papers on '​'​ Needs for Microsoft Dynamics CRM in the Education Sector''. Prior to Microsoft, he has worked as a Functional Consultant and has implemented Microsoft Dynamics AX in the Manufacturing and Services Segment. He has also worked as a Business Development Executive implementing Document Management Systems for Security Broking and Manufacturing Organizations.