web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Build pipeline failing - No assembly matching referenced module ApplicationSuite is found

(0) ShareShare
ReportReport
Posted on by 1,424

Hi Community,

We have configured two MS agent hosted build pipelines in Azure DevOps. One is Main. The other one is PreProd which is a duplicate of Main besides it points to PreProd branch in TFVC.

Main pipeline maps to Main branch which is connected to DEV server using version control. Main pipeline runs successfully.

PreProd pipeline maps to PreProd branch. This pipeline keeps failing and is unable compile any of the custom model code.

I have double-checked the custom model descriptor file does include reference to ApplicationSuite in PreProd branch as well.

pastedimage1650257180110v2.png

pastedimage1650256820424v1.png

3323.Log-2.png

Any help would be much appreciated.

Thanks!

I have the same question (0)
  • Verified answer
    M Anas Khan Profile Picture
    1,424 on at

    Resolved by adding reference to Application Suite package in the PreProd build pipeline.

    1. Updating packages.config file to include reference to ApplicationSuite

    <?xml version="1.0" encoding="utf-8"?>

    <packages>

    <package id="Microsoft.Dynamics.AX.Platform.DevALM.BuildXpp" version="7.0.6253.51" targetFramework="net40" />

    <package id="Microsoft.Dynamics.AX.Application.DevALM.BuildXpp" version="10.0.1084.56" targetFramework="net40" />

    <package id="Microsoft.Dynamics.AX.ApplicationSuite.DevALM.BuildXpp" version="10.0.1084.56" targetFramework="net40" />

    <package id="Microsoft.Dynamics.AX.Platform.CompilerPackage" version="7.0.6253.51" targetFramework="net40" />

    </packages>

    2. Added a new pipeline variable

    Name: AppSuitePackage

    Value: Microsoft.Dynamics.AX.ApplicationSuite.DevALM.BuildXpp

    3. Added reference to the AppSuitePackage in MSBuild Arguments in Build solution step

    /p:BuildTasksDirectory="$(NugetsPath)\$(ToolsPackage)\DevAlm"

    /p:MetadataDirectory="$(MetadataPath)"

    /p:FrameworkDirectory="$(NuGetsPath)\$(ToolsPackage)"

    /p:ReferenceFolder="$(NuGetsPath)\$(PlatPackage)\ref\net40;$(NuGetsPath)\$(AppPackage)\ref\net40;$(MetadataPath);$(Build.BinariesDirectory);$(NuGetsPath)\$(AppSuitePackage)\ref\net40"

    /p:ReferencePath="$(NuGetsPath)\$(ToolsPackage)"

    /p:OutputDirectory="$(Build.BinariesDirectory)"

  • huijij Profile Picture
    19,811 on at

    Thank you for your contribution to the forum, you may mark the helpful answers to close the thread.

  • M Anas Khan Profile Picture
    1,424 on at

    Seems like I cannot mark my own response as a verified answer. Can you do this to close the thread?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans