![]() |
VOOZH | about |
dotnet add package TALXIS.DevKit.Build.Dataverse.Solution --version 1.5.1
NuGet\Install-Package TALXIS.DevKit.Build.Dataverse.Solution -Version 1.5.1
<PackageReference Include="TALXIS.DevKit.Build.Dataverse.Solution" Version="1.5.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageVersion Include="TALXIS.DevKit.Build.Dataverse.Solution" Version="1.5.1" />Directory.Packages.props
<PackageReference Include="TALXIS.DevKit.Build.Dataverse.Solution"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>Project file
paket add TALXIS.DevKit.Build.Dataverse.Solution --version 1.5.1
#r "nuget: TALXIS.DevKit.Build.Dataverse.Solution, 1.5.1"
#:package TALXIS.DevKit.Build.Dataverse.Solution@1.5.1
#addin nuget:?package=TALXIS.DevKit.Build.Dataverse.Solution&version=1.5.1Install as a Cake Addin
#tool nuget:?package=TALXIS.DevKit.Build.Dataverse.Solution&version=1.5.1Install as a Cake Tool
MSBuild integration for building complete Dataverse solutions. Orchestrates the entire solution build pipeline: discovers and builds referenced Plugin, WorkflowActivity, ScriptLibrary, CodeApp, and PCF projects; patches solution XML with version, publisher, and managed state; supports manual invocation of schema validation targets for solution metadata against XSD/JSON schemas; runs the PAC solution packager to produce a .zip file; and supports dotnet pack to generate a NuGet package containing the solution zip.
<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>
The package sets ProjectType to Solution and imports Microsoft.PowerApps.MSBuild.Solution targets. The build pipeline executes in the following order:
ProbePluginLibraries, ProbeScriptLibraries, ProbeCodeApps, and ProbeWorkflowActivityLibraries call GetProjectType on all ProjectReference items to classify them by component type. ScriptLibrary and CodeApp references are removed from @(ProjectReference) after discovery so the standard .NET ResolveProjectReferences pipeline does not build them a second time -- they are built explicitly in the next step.
BuildPluginLibraries, BuildScriptLibraries, BuildCodeApps, and BuildWorkflowActivityLibraries compile each referenced component project before CopyCdsSolutionContent.
EnsurePluginAssemblyDataXml generates .data.xml files under PluginAssemblies/.EnsureWorkflowActivityAssemblyDataXml generates .data.xml for workflow activity assemblies.CopyScriptLibrariesToWebResources resolves web resource names with the publisher prefix, generates .data.xml, and registers root components in Solution.xml.PrepareCodeAppsSources generates .meta.xml via GenerateCodeAppMetaXml, adds root components (Type 300) to Solution.xml, and ensures the CanvasApps node exists in Customizations.xml.PatchSolutionXml writes Version (use ApplyVersionNumber instead, see below), Managed, PublisherName, and PublisherPrefix into Solution.xml (all optional).
ProcessCdsProjectReferencesOutputs replaces the Microsoft default to filter ScriptLibrary, CodeApp, and WorkflowActivity references from PAC processing. Then GenerateVersionNumber and ApplyVersionNumber patch the version across all solution metadata.
ValidateSolutionComponentSchema validates all solution XML files against 22 bundled XSD schemas and JSON flows against a JSON schema. Validation runs in batch mode -- all errors are collected before failing the build, with MSBuild-canonical error format for IDE click-through.
This validation is not wired into the build pipeline automatically -- it must be invoked manually, e.g. dotnet build -t:ValidateSolutionComponentSchema.
PowerAppsPackage invokes the PAC solution packager to produce the output .zip.
dotnet pack produces a .nupkg with the solution .zip under content/solution/.
| 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. See . |
| 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. |
| 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. |
| Property | Default | Description |
|---|---|---|
WebResourcesDir |
$(MSBuildProjectDirectory)\$(SolutionRootPath)\WebResources\ |
Destination folder for script library web resources. |
PcfForceUpdate |
(none) | Forwarded to PAC ProcessCdsProjectReferencesOutputs to force PCF updates. |
Schema validation via ValidateSolutionComponentSchema is not wired automatically -- invoke it manually (e.g. dotnet build -t:ValidateSolutionComponentSchema). No skip property is needed.
TALXIS.DevKit.Build.Dataverse.Tasks, Microsoft.PowerApps.MSBuild.SolutionPlugin, WorkflowActivity, ScriptLibrary, CodeApp, and Pcf projects via ProjectReferenceLearn more about Target Frameworks and .NET Standard.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.5.1 | 138 | 5/26/2026 |
| 1.5.0 | 290 | 5/26/2026 |
| 1.4.0 | 336 | 5/14/2026 |
| 1.3.0 | 135 | 5/14/2026 |
| 1.2.2 | 261 | 5/4/2026 |
| 1.2.1 | 144 | 5/4/2026 |
| 1.2.0 | 149 | 5/4/2026 |
| 1.1.0 | 146 | 5/1/2026 |
| 1.0.0 | 157 | 4/29/2026 |
| 0.0.0.16 | 165 | 4/28/2026 |
| 0.0.0.15 | 173 | 4/26/2026 |
| 0.0.0.14 | 161 | 4/25/2026 |
| 0.0.0.13 | 539 | 3/13/2026 |
| 0.0.0.12 | 197 | 3/11/2026 |
| 0.0.0.11 | 226 | 3/6/2026 |
| 0.0.0.10 | 331 | 2/24/2026 |
| 0.0.0.9 | 311 | 2/12/2026 |
| 0.0.0.8 | 222 | 2/11/2026 |
| 0.0.0.7 | 228 | 2/11/2026 |
| 0.0.0.6 | 236 | 2/10/2026 |