Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

New Developer Toolkit - CrmRegister file often changed when opening Visual Studio

Posted on by 265

With the new Software Developer toolkit, the crmregister file often gets amended simply through the process of opening and closing Visual Studio.

See the screenshot below - I checked the crmregister file into VSTS, closed Visual Studio, re-opened it and the entire workflow assembly section has been wiped.

Sometimes both plugins and workflows get wiped.

This means that the first thing you have to do every time you open the solution is check whether any changes have been made to the crmregister file and undo them. If you had not checked your changes in, you may lose them altogether.

CrmRegisterFileChanges.png

*This post is locked for comments

  • Suggested answer
    MattB-MSFT Profile Picture
    MattB-MSFT on at
    RE: New Developer Toolkit - CrmRegister file often changed when opening Visual Studio

    We were able to reproduce this and create a fix for it.  This has been posted in the update that went out today..  Please let us know if your still seeing the issue after updating your local copy of the tools.

  • Whitey@Work Profile Picture
    Whitey@Work on at
    RE: New Developer Toolkit - CrmRegister file often changed when opening Visual Studio

    I also have exactly the same issue. If you shift the plugin solution xml part tot he top, always the second "Workflow" solution xml is wiped. If you switch them around so workflow solution xml (crmregistration file) is first in the list, then the plugin xml is wiped. Clearly a bug and as we have many customer development projects, this is a show stopper.

    Any closer to a fix?

  • MattB-MSFT Profile Picture
    MattB-MSFT on at
    RE: New Developer Toolkit - CrmRegister file often changed when opening Visual Studio

    Ok thanks. we will take a look at that.

    Ben, any chance you can PM me with the crmregister file your using so we can take a look?

    Thanks

  • DirkRe Profile Picture
    DirkRe 15 on at
    RE: New Developer Toolkit - CrmRegister file often changed when opening Visual Studio

    I had the same experience - a crmregister file created by my colleage with developer toolkit 2013 was wiped by my developer toolkit 365.

    I just receovered the change from GIT.

    Up to a fix of this problem I'll set the file to "Ignore on Commit" in the source control to avoid destroying the solution. See also community.dynamics.com/.../222894.

  • Ben Walker Profile Picture
    Ben Walker 265 on at
    RE: New Developer Toolkit - CrmRegister file often changed when opening Visual Studio

    This is from a crmregister file which has been built with the new version of the toolkit. I know that there are compatibility issues with the old toolkit, so this project has been built from scratch using the new toolkit. The file was built on 21 Jan 2017 using whichever version of the toolkit was current at that point.

  • MattB-MSFT Profile Picture
    MattB-MSFT on at
    RE: New Developer Toolkit - CrmRegister file often changed when opening Visual Studio

    Was the original version of the file from the same version of the toolkit (1.3.xxxx) or from the older 2012 toolkit?

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