Skip to content

Bump Microsoft.PowerApps.MSBuild tooling 1.x -> 2.10.1 - #110

Draft
TomProkop wants to merge 1 commit into
masterfrom
bump/powerapps-msbuild-2.10.1
Draft

Bump Microsoft.PowerApps.MSBuild tooling 1.x -> 2.10.1#110
TomProkop wants to merge 1 commit into
masterfrom
bump/powerapps-msbuild-2.10.1

Conversation

@TomProkop

Copy link
Copy Markdown
Member

What

A live nuget.org registry audit tonight found this repo's pinned Microsoft.PowerApps.MSBuild.* dependency versions had drifted stale against a major version bump: 1.48.2/1.50.1 vs the current 2.10.1, and the Plugin package used a 1.* floating floor that can never resolve to the current 2.x major.

Changes:

  • src/Dataverse/Directory.Build.props: MicrosoftPowerAppsTargetsVersion 1.48.2 -> 2.10.1
  • src/Dataverse/PDPackage/msbuild/build/TALXIS.DevKit.Build.Dataverse.PdPackage.{props,targets}: default PdPackageMsBuildVersion 1.50.1 -> 2.10.1 (this had drifted apart from MicrosoftPowerAppsTargetsVersion above; both are now back in line)
  • src/Dataverse/Plugin/msbuild/tasks/TALXIS.DevKit.Build.Dataverse.Plugin.props: Microsoft.PowerApps.MSBuild.Plugin 1.* -> 2.*
  • docs/Tasks-Package.md: updated stale hardcoded example version

This is a major version bump of Microsoft's own MSBuild tooling (1.x -> 2.x), so there is real risk of breaking changes on Microsoft's side.

What I verified

  • dotnet pack of the modified TALXIS.DevKit.Build.Dataverse.{Plugin,PdPackage,Solution,Tasks} projects to a local NuGet feed (using the modified Directory.Build.props/.props/.targets in this branch).
  • dotnet restore of minimal throwaway consumer projects referencing each of TALXIS.DevKit.Build.Dataverse.Plugin, .PdPackage, and .Solution against that local feed + nuget.org. All three restored cleanly and project.assets.json confirms Microsoft.PowerApps.MSBuild.Plugin, Microsoft.PowerApps.MSBuild.PDPackage, and Microsoft.PowerApps.MSBuild.Solution all resolved to 2.10.1 — i.e. the version property/nuspec-substitution plumbing correctly wires through to the new major version, and 2.10.1 genuinely exists and resolves on nuget.org.
  • dotnet build of the PdPackage-referencing throwaway project successfully imported the modified TALXIS.DevKit.Build.Dataverse.PdPackage.props/.targets, which in turn imported Microsoft.PowerApps.MSBuild.PDPackage.props/.targets 2.10.1 from the NuGet package cache without error (the only build error encountered was an unrelated TargetFramework mismatch in the throwaway project — net472 is required by the PDPackage tooling — not a tooling/versioning issue).
  • Confirmed via grep across the repo that no other file still references the old 1.48.2 / 1.50.1 / 1.* values.
  • All touched .props/.targets files were confirmed to be well-formed XML.

Not completed: a full end-to-end scaffold-and-build using the TALXIS.DevKit.Templates.Dataverse templates (pp-plugin, pp-package, pp-solution) against these locally-packed tooling packages. The template scaffold's PowerShell post-action hung indefinitely in the sandbox used for this verification, and the sandbox subsequently ran into disk exhaustion; given the package-resolution verification above already demonstrates the core risk (does 2.10.1 exist and resolve, does the version wiring work end-to-end), a full CRM-SDK plugin compile was not pursued further. Recommend a maintainer with a stable local dev environment do one real scaffold-and-build pass before merging, given this is a major-version bump of Microsoft's own tooling.

Draft PR — not to be merged without that additional confirmation.


Generated by Claude Code

A live nuget.org registry audit tonight found this repo's pinned
Microsoft.PowerApps.MSBuild.* dependency versions had drifted stale
against a major version: 1.48.2/1.50.1 vs the current 2.10.1, and the
Plugin package used a "1.*" floating floor that can never resolve to
the current 2.x major.

- Directory.Build.props: MicrosoftPowerAppsTargetsVersion 1.48.2 -> 2.10.1
- PDPackage props/targets: default PdPackageMsBuildVersion 1.50.1 -> 2.10.1
  (brings it back in line with MicrosoftPowerAppsTargetsVersion, which
  had drifted apart from it)
- Plugin props: Microsoft.PowerApps.MSBuild.Plugin "1.*" -> "2.*"
- docs/Tasks-Package.md: updated stale hardcoded example version

Verified: dotnet pack of the modified Plugin/PdPackage/Solution/Tasks
projects to a local feed, then dotnet restore of minimal consuming
projects referencing each against that local feed + nuget.org
confirms Microsoft.PowerApps.MSBuild.Plugin/PDPackage/Solution all
resolve to 2.10.1 end-to-end through the updated version properties
and nuspec substitutions. A dotnet build of the PdPackage-referencing
project also exercised the PdPackage.props/.targets import chain
successfully (only remaining error was an unrelated TargetFramework
mismatch in the throwaway test project, not a tooling issue). Full
scaffold-from-template builds (pp-plugin/pp-package/pp-solution via
TALXIS.DevKit.Templates.Dataverse) were attempted but not completed
end-to-end due to sandbox resource exhaustion (disk space) encountered
partway through; the package-resolution verification above is the
verification that was completed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants