Thursday, January 16, 2025

Adding DLL files as a reference to the D365 project.

 

1) Create a project using class class library 




2) create a project once created it will show as below 

3) write your own logic based on your based on your requirement .



4) build the project once build is done it will DLL file   in your project stored location /bin/debug / as shown below





5) copy the DLL file and paste in your Model
            AOSService\PackagesLocalDirectory\yourmodel\bin\


6) create a project in d365 and add refence as shown below  . we need to select  DLL in browser window and click on OK 

    
    
Note : after DLL added as reference in D365 project,  If we modified DLL then we need repeat the steps 4,5,6 to get the latest DLL as reference in your d365 project  

Adding DLL In Source control explorer :

1. Open the source controller and navigate to the metadata node. Right-click on your model, and choose the '+ Add items to folder' option.

2. Choose the 'bin' folder and click 'Next.'


3. In the 'Excluded items,' select your DLL. Then, click 'Finish.'





4. This will add your DLL to the bin folder. During check-in, ensure to include it from the pending changes.



Reference kishore 











Delete TFS Workspace Through command prompt D365 FO

Requirement: where I have situation need to configure the TFS in my Development machine but getting error when we map metadata.  cause of t...