Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Create Console app to test plugin code.

Posted on by 40

Hi All,

Can you please tell me the code , to create console app which calls Plugin so that i can debug and test the plugin code. Its urgent.

Thankyou in advance. 

*This post is locked for comments

  • Priya Reddy Profile Picture
    Priya Reddy 40 on at
    RE: Create Console app to test plugin code.

    I'm trying to call logic.cs , so I created new solution created console app , and further can u plz guide me thru the steps

  • Priya Reddy Profile Picture
    Priya Reddy 40 on at
    RE: Create Console app to test plugin code.

    Hi , this help but can u please guide me through this.

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: Create Console app to test plugin code.

    Hi Priya,

    Please refer below url for reference:

    community.dynamics.com/.../simple-dynamics-crm-console-application

  • Verified answer
    DhananjaySharma Profile Picture
    DhananjaySharma 65 on at
    RE: Create Console app to test plugin code.

    Hi Priya,

    Please find below link which describe step by step creation of console application and CRM connectivity code. Once connection(service) is created after that you need to paste your plugin code and you can easily debug it.

    arunpotti.wordpress.com/.../

    Hope this will help you.

  • Suggested answer
    Saad Kabarousse Profile Picture
    Saad Kabarousse 732 on at
    RE: Create Console app to test plugin code.

    Hello,

    I think the way to do it is that inside your console app you write a code that executes the step which on your plugin is deployed, like after update for example.

    After that your plugin will get fired up and u'll be able to debug it.

    Or you can simply fire the plugin on the form level, since it's going to be called either way.

    I hope this helps :)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans