Posts

Showing posts from May, 2024

How to create C# Library and Use with in Dynamics 365 For Finance and Operation

Image
Some time we need to Integrate external business logic or third-party functionality into a Dynamics 365 project often involves creating a C# class library. In this library, you'll typically write methods that encapsulate the desired business logic or functionality. These methods can then be referenced and called within your Dynamics 365 project. Step-1 : open visual studio and create “ D365Project ”.For creating new   project in D365 Open visual    studio à File à New à Project à select Finance and operation à click Ok . After creating   the project visual studio will look like this. Step-2 : Secondly Add new Csharp Library project in the same Solution. I added “ CsharpProject ”. For adding right click on Solution à Add à New Project . Step-3 :  Now in the next window on the lift panel Select Visual C# à Class library  à Ok . Step-4 : After adding the above step now you can see in the Solution Explorer there is 2 projects . One of   the Csha...