TALXIS.DevKit.Build.Dataverse.GenPage 1.5.1

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.GenPage --version 1.5.1
                    
NuGet\Install-Package TALXIS.DevKit.Build.Dataverse.GenPage -Version 1.5.1
                    
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.GenPage" Version="1.5.1">
  <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.GenPage" Version="1.5.1" />
                    
Directory.Packages.props
<PackageReference Include="TALXIS.DevKit.Build.Dataverse.GenPage">
  <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.GenPage --version 1.5.1
                    
#r "nuget: TALXIS.DevKit.Build.Dataverse.GenPage, 1.5.1"
                    
#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.GenPage@1.5.1
                    
#: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.GenPage&version=1.5.1
                    
Install as a Cake Addin
#tool nuget:?package=TALXIS.DevKit.Build.Dataverse.GenPage&version=1.5.1
                    
Install as a Cake Tool

TALXIS.DevKit.Build.Dataverse.GenPage

MSBuild integration for Dataverse generative page (GenPage) projects. Transpiles TSX source files via TypeScript, patches in RuntimeTypes, generates config metadata, and exposes output targets for Solution projects to discover and integrate GenPages as uxagentprojects.

Installation

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

Or use the SDK approach:

<Project Sdk="TALXIS.DevKit.Build.Sdk/0.0.0.1">
  <PropertyGroup>
    <ProjectType>GenPage</ProjectType>
    <GenPageId>{your-genpage-guid}</GenPageId>
    <GenPageDataSources>datasource1,datasource2</GenPageDataSources>
  </PropertyGroup>
</Project>

Prerequisites

  • Node.js must be available on PATH
  • npx must be available on PATH

The build will fail with a descriptive error if either is missing.

How It Works

The package sets ProjectType to GenPage and disables GenerateAssemblyInfo by default since this is not a traditional .NET assembly project.

Build-time targets

  1. CheckGenPagePrereqs — validates that the main TSX file exists and node/npx are on PATH.
  2. TranspileGenPage (runs before Build) — executes tsc via npx to transpile TSX to JS, then patches the output by stripping RuntimeTypes imports and prepending RuntimeTypes.js content if present.
  3. GenerateGenPageConfig — generates config.json from project properties (GenPageDataSources).
  4. CopyGenPageOutputs (runs after Build) — copies page.tsx, page.compiled, and config.json to the output directory.

Integration targets

Called by TALXIS.DevKit.Build.Dataverse.Solution via ProjectReference:

  • GetProjectType — returns GenPage.
  • GetGenPageOutputs — exposes the compiled output folder and metadata for the solution to copy into uxagentprojects/.

MSBuild Properties

Property Default Description
ProjectType GenPage Marks the project for reference discovery by Solution projects.
GenPageMainFile page.tsx Main TSX source file to transpile.
GenPageName $(MSBuildProjectName) Name used for the output folder and metadata.
GenPageId (required) GUID identifying this GenPage in Dataverse.
GenPageDataSources (empty) Comma-separated list of data source identifiers.
LangVersion latest C# language version for the project.
GenerateAssemblyInfo false Disables auto-generated assembly info.
  • Depends on: TALXIS.DevKit.Build.Dataverse.Tasks
  • Consumed by: TALXIS.DevKit.Build.Dataverse.Solution 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
1.8.4 60 8/11/2026
1.8.3 66 8/11/2026
1.8.2 74 8/11/2026
1.8.1 84 8/10/2026
1.8.0 103 7/29/2026
1.7.0 145 7/7/2026
1.6.1 157 6/29/2026
1.6.0 157 6/27/2026
1.5.1 195 5/26/2026
1.5.0 193 5/26/2026