Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Continuous Deployment ...
Finance forum

Continuous Deployment Build error

(0) ShareShare
ReportReport
Posted on by 150

Hi,

I have deployed latest release of Build environment (Application 10, Platform Update25), and build pipline has been automatically generated as expected. Disabled a few non-required steps (database restore, tests). But running build results in following errror: 

 powershell.exe -NonInteractive -ExecutionPolicy RemoteSigned -Command "& {C:\DynamicsSDK\DevALMInstrumentor.ps1 -TaskBuildStart}"
  Unable to find type [Microsoft.Dynamics.ApplicationPlatform.Instrumentation.AXD
  eveloperALMEventSource].
  At C:\DynamicsSDK\DevALMInstrumentor.ps1:289 char:5
  +     [Microsoft.Dynamics.ApplicationPlatform.Instrumentation.AXDevelop ...
  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : InvalidOperation: (Microsoft.Dynam...rALMEventSo 
     urce:TypeName) [], RuntimeException
      + FullyQualifiedErrorId : TypeNotFound
Error log contains only one line: "Error generating build projects: No deployment binaries path could be found in Dynamics SDK registry."
Is there some aditional setup required? I assumed that it should work out of the box.
  • Joris dG Profile Picture
    17,775 on at
    RE: Continuous Deployment Build error

    Good to hear. Some great stuff (and simplification!) for build automation is coming, so hang in there :-)

  • Oleksii Profile Picture
    150 on at
    RE: Continuous Deployment Build error

    Thank you for reply Joris. Re-enabling 'Prepare for build' step resolved the issue.

  • Verified answer
    Joris dG Profile Picture
    17,775 on at
    RE: Continuous Deployment Build error

    Can you elaborate on "disabled a few non-required steps"? Database restore is a chunk of code inside the prepare for build script. If you disable the entire prepare for build step, that's likely causing you these issues because it does a lot more _necessary_ work than just restore a database. It won't restore a database if you didn't specify one in the build variables, by the way.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,351 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,029 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans