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

Community site session details

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

How to include ISV solution in package using TFS build

(0) ShareShare
ReportReport
Posted on by 3,945

Hi all,

We have one ISV solution for our project, its added to TFS with all necessary DLLs.

When we are creating the package from Visual studio then that ISV is showing up in that package, but when we are doing same from VSTS Build, in that case, ISV solution is not showing in package.

Kindly suggest what could be the reason for the same.

Thank you

I have the same question (0)
  • Verified answer
    Joris dG Profile Picture
    17,775 on at
    RE: How to include ISV solution in package using TFS build

    Also, if you've been a F&O customer for a long time, your build definition may be older and not be passing in the flag to tell the packaging step to include runtime binaries.

    On the "generate packages" step, the "arguments" to the powershell script should be:

    -BuildPackagePath "$(Agent.BuildDirectory)\Packages" -BuildBinPath "$(Agent.BuildDirectory)\Bin" -BuildMetadataPath "$(Build.SourcesDirectory)\Metadata" -BuildVersion "$(Build.BuildNumber)" -NoRuntime:([bool]$(SkipRuntimePackageGeneration)) -NoSource:([bool]$(SkipSourcePackageGeneration)) -Verbose -ExclusionList "$(PackagingExclusions)" -IncludeBinaries:([bool]$(IncludeBinariesInRuntimePackage))

    If yours is different you may have to add some of these variables to your definition before you can use them here. But the key is really to have the -IncludeBinaries option

  • Gautam Profile Picture
    3,945 on at
    RE: How to include ISV solution in package using TFS build

    Okay Nikolaos, let me check.

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: How to include ISV solution in package using TFS build

    Check the Variables section in your build definition. Perhaps you have excluded the ISV package with PackagingExclusions?

  • Gautam Profile Picture
    3,945 on at
    RE: How to include ISV solution in package using TFS build

    Hi Nikoloas,

    It's related to D365 finance and operation, thanks for sharing the link, I followed the same link and cross-checked everything, it looks fine, but still, we are unable to create the deployable package.

    Thank you

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: How to include ISV solution in package using TFS build

    Is this question about AX (you posted in AX forum) or Dynamics 365 for Finance and Operations? I guess it's about D365FO since you talk about Visual Studio development. I will move this post to D365FO forum.

    For D365FO you can read this article: https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/dev-tools/manage-runtime-packages

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 882 User Group Leader

#2
André Arnaud de Calavon Profile Picture

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

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 518

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans