TALXIS.DevKit.Build.Dataverse.Solution 0.0.0.6

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package TALXIS.DevKit.Build.Dataverse.Solution --version 0.0.0.6
                    
NuGet\Install-Package TALXIS.DevKit.Build.Dataverse.Solution -Version 0.0.0.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TALXIS.DevKit.Build.Dataverse.Solution" Version="0.0.0.6">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TALXIS.DevKit.Build.Dataverse.Solution" Version="0.0.0.6" />
                    
Directory.Packages.props
<PackageReference Include="TALXIS.DevKit.Build.Dataverse.Solution">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TALXIS.DevKit.Build.Dataverse.Solution --version 0.0.0.6
                    
#r "nuget: TALXIS.DevKit.Build.Dataverse.Solution, 0.0.0.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TALXIS.DevKit.Build.Dataverse.Solution@0.0.0.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TALXIS.DevKit.Build.Dataverse.Solution&version=0.0.0.6
                    
Install as a Cake Addin
#tool nuget:?package=TALXIS.DevKit.Build.Dataverse.Solution&version=0.0.0.6
                    
Install as a Cake Tool

TALXIS.DevKit.Build.Dataverse.Solution

MSBuild integration for building complete Dataverse solutions. Orchestrates the entire solution build pipeline: discovers and builds referenced Plugin, WorkflowActivity, ScriptLibrary, and PCF projects; patches solution XML with version, publisher, and managed state; runs the PAC solution packager to produce a .zip file; and supports dotnet pack to generate a NuGet package containing the solution zip.

Installation

<PackageReference Include="TALXIS.DevKit.Build.Dataverse.Solution" Version="0.0.0.1" PrivateAssets="All" />

Or use the SDK approach:

<Project Sdk="TALXIS.DevKit.Build.Sdk/0.0.0.1">
  <PropertyGroup>
    <ProjectType>Solution</ProjectType>
  </PropertyGroup>
</Project>

How It Works

The package sets ProjectType to Solution and imports Microsoft.PowerApps.MSBuild.Solution targets. The build pipeline executes in the following order:

1. Component discovery

ProbePluginLibraries, ProbeScriptLibraries, and ProbeWorkflowActivityLibraries call GetProjectType on all ProjectReference items to classify them by component type.

2. Component builds

BuildPluginLibraries, BuildScriptLibraries, and BuildWorkflowActivityLibraries compile each referenced component project before CopyCdsSolutionContent.

3. Component metadata generation

  • Plugin assemblies -- EnsurePluginAssemblyDataXml generates .data.xml files under PluginAssemblies/.
  • Workflow activities -- EnsureWorkflowActivityAssemblyDataXml generates .data.xml for workflow activity assemblies.
  • Script libraries -- CopyScriptLibrariesToWebResources resolves web resource names with the publisher prefix, generates .data.xml, and registers root components in Solution.xml.

4. Solution XML patching

PatchSolutionXml writes Version, Managed, PublisherName, and PublisherPrefix into Solution.xml.

5. PAC override and versioning

ProcessCdsProjectReferencesOutputs replaces the Microsoft default to filter ScriptLibrary and WorkflowActivity references from PAC processing. Then GenerateVersionNumber and ApplyVersionNumber patch the version across all solution metadata.

6. Solution packaging

PackDataverseSolution invokes the PAC solution packager to produce the output .zip.

7. NuGet packing

dotnet pack produces a .nupkg with the solution .zip under content/solution/.

MSBuild Properties

General

Property Default Description
ProjectType Solution Marks the project as a solution for reference discovery.
Version (required) Base version; used for Git versioning and applied to solution.xml and related metadata.
ApplyToBranches (none) Semicolon-separated branch rules (e.g. master;hotfix;develop:1;pr:3;feature/*:2).
LocalBranchBuildVersionNumber 0.0.0.1 Fallback version when Git versioning is not applied.

Solution metadata

Property Default Description
Managed (none) Value written to the <Managed> element in solution.xml.
PublisherName (none) Value written to the publisher name fields in solution.xml.
PublisherPrefix (none) Value written to solution.xml and used as the web resource name prefix.

Paths

Property Default Description
SolutionRootPath . Relative path to the solution source root.
SolutionPackagerWorkingDirectory $(IntermediateOutputPath) Working folder for solution packager operations.
SolutionPackagerMetadataWorkingDirectory $(SolutionPackagerWorkingDirectory)Metadata Metadata folder used for version updates.
SolutionPackagerLocalizationWorkingDirectory (none) Optional localization working folder (cleaned by CleanupWorkingDirectory).
SolutionPackageLogFilePath $(IntermediateOutputPath)SolutionPackager.log SolutionPackager log path.
SolutionPackageZipFilePath $(OutputPath)$(MSBuildProjectName).zip Output zip path for pack tasks.

Web resources and PCF

Property Default Description
WebResourcesDir $(MSBuildProjectDirectory)\$(SolutionRootPath)\WebResources\ Destination folder for script library web resources.
PcfForceUpdate (none) Forwarded to PAC ProcessCdsProjectReferencesOutputs to force PCF updates.
  • Depends on: TALXIS.DevKit.Build.Dataverse.Tasks, Microsoft.PowerApps.MSBuild.Solution
  • Discovers and builds: Plugin, WorkflowActivity, ScriptLibrary, and Pcf projects via ProjectReference
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.0.8 0 2/11/2026
0.0.0.7 0 2/11/2026
0.0.0.6 28 2/10/2026
0.0.0.5 26 2/10/2026
0.0.0.4 26 2/10/2026