TALXIS.DevKit.Build.Dataverse.Pcf
0.0.0.9
Prefix Reserved
dotnet add package TALXIS.DevKit.Build.Dataverse.Pcf --version 0.0.0.9
NuGet\Install-Package TALXIS.DevKit.Build.Dataverse.Pcf -Version 0.0.0.9
<PackageReference Include="TALXIS.DevKit.Build.Dataverse.Pcf" Version="0.0.0.9"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="TALXIS.DevKit.Build.Dataverse.Pcf" Version="0.0.0.9" />
<PackageReference Include="TALXIS.DevKit.Build.Dataverse.Pcf"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add TALXIS.DevKit.Build.Dataverse.Pcf --version 0.0.0.9
#r "nuget: TALXIS.DevKit.Build.Dataverse.Pcf, 0.0.0.9"
#:package TALXIS.DevKit.Build.Dataverse.Pcf@0.0.0.9
#addin nuget:?package=TALXIS.DevKit.Build.Dataverse.Pcf&version=0.0.0.9
#tool nuget:?package=TALXIS.DevKit.Build.Dataverse.Pcf&version=0.0.0.9
TALXIS.DevKit.Build.Dataverse.Pcf
MSBuild integration for Power Apps Component Framework (PCF) projects. Wraps Microsoft.PowerApps.MSBuild.Pcf and adds automatic Git-based version number generation that is applied to the PCF control before build.
Installation
<PackageReference Include="TALXIS.DevKit.Build.Dataverse.Pcf" Version="0.0.0.1" PrivateAssets="All" />
Or use the SDK approach:
<Project Sdk="TALXIS.DevKit.Build.Sdk/0.0.0.1">
<PropertyGroup>
<ProjectType>Pcf</ProjectType>
</PropertyGroup>
</Project>
How It Works
The package imports Microsoft.PowerApps.MSBuild.Pcf targets as a NuGet dependency and layers versioning on top.
The TalxisBeforeBuild target runs before BeforeBuild and executes two steps in sequence:
- GenerateVersionNumber (from
Tasks) -- reads theVersionproperty, inspects the current Git branch againstApplyToBranchesrules, and produces a full four-part version number. - ApplyPluginVersionNumber -- writes the generated version to
AssemblyVersion,FileVersion,Version, andPackageVersion.
The Microsoft PCF targets version is controlled by MicrosoftPowerAppsTargetsVersion from Directory.Build.props.
MSBuild Properties
| Property | Default | Description |
|---|---|---|
Version |
(required) | Base version (Major.Minor); used by Git versioning to produce the full version. |
ApplyToBranches |
(none) | Semicolon-separated branch rules (e.g. master;hotfix;develop:1;pr:3;feature/*:2). |
LocalBranchBuildVersionNumber |
0.0.0.1 |
Fallback version when the current branch does not match ApplyToBranches. |
Related Packages
- Depends on:
TALXIS.DevKit.Build.Dataverse.Tasks,Microsoft.PowerApps.MSBuild.Pcf - Consumed by:
TALXIS.DevKit.Build.Dataverse.Solutionprojects viaProjectReference
Learn more about Target Frameworks and .NET Standard.
-
- Microsoft.PowerApps.MSBuild.Pcf (>= 1.48.2)
- TALXIS.DevKit.Build.Dataverse.Tasks (>= 0.0.0.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.