Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

VS solution corrupt which contains plugins

Posted on by 2,909

Hi all,

I have a VS solution that has be come corrupt.

I have created a new solution and added the Project that contains all the Plugins. It has rebuilt without errors.

Is there anything I would need to be worried about when I go to update a plugin?

Any best practices as such?

*This post is locked for comments

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: VS solution corrupt which contains plugins

    Hi antc,

    As long as the VS solution is the only thing that got corrupt, your Plugins should be able to be registered without any problem.

    If your actual Plugin project got corrupt, I would be a little more worried.

    In general, I would recommend that you use some sort of Source Control (such as VSTS or Git) when working with VS, so that you can retrieve previous versions of your work in cases like this.

    Hope this helps.

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    Temmy Wahyu Raharjo 2,914 on at
    RE: VS solution corrupt which contains plugins

    Hi,

    If the corrupted one is sln, I think there is nothing you need to worry about. Just create a new sln and add existing projects.

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: VS solution corrupt which contains plugins

    Hi antc,

    There are certainly some good practices to follow when it comes to updating a plugin.

    This article contains a few of the best practices that I personally follow. http://scaleablesolutions.com/best-practices-for-writing-dynamics-crm-plugin/

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans