Skip to content

refactor: use TALXIS.Platform.Metadata.Packaging library for solution pack/unpack#80

Open
metjuperry wants to merge 2 commits into
masterfrom
feature/use-packaging-library
Open

refactor: use TALXIS.Platform.Metadata.Packaging library for solution pack/unpack#80
metjuperry wants to merge 2 commits into
masterfrom
feature/use-packaging-library

Conversation

@metjuperry
Copy link
Copy Markdown
Member

Summary

Replaces the inline SolutionPackagerLib workaround with a reference to the new TALXIS.Platform.Metadata.Packaging NuGet package.

Depends on

  • TALXIS/platform-metadata#48 (adds the TALXIS.Platform.Metadata.Packaging project)

Changes

  • Removed ISolutionPackagerService from TALXIS.CLI.Core/Contracts/Dataverse/ — now provided by the library
  • Removed SolutionPackagerServiceImpl from Sdk/ — implementation now lives in the library
  • Removed Microsoft.PowerApps.CLI.Core.linux-x64 NuGet workaround from TALXIS.CLI.Platform.Dataverse.Application.csproj
  • Added TALXIS.Platform.Metadata.Packaging PackageReference to TALXIS.CLI.Platform.Dataverse.Application and TALXIS.CLI.Features.Environment
  • Updated DI registration to use SolutionPackagerService from the library
  • Updated using statements in all consuming files

Notes

⚠️ This PR will not build until TALXIS.Platform.Metadata.Packaging v1.0.0 NuGet package is published from TALXIS/platform-metadata#48. The version reference may need adjustment once the package is published.

… pack/unpack

Replace the inline SolutionPackagerLib workaround with a reference to
the new TALXIS.Platform.Metadata.Packaging NuGet package.

Changes:
- Remove ISolutionPackagerService from TALXIS.CLI.Core (now in library)
- Remove SolutionPackagerServiceImpl from Dataverse.Application
- Remove Microsoft.PowerApps.CLI.Core.linux-x64 workaround from csproj
- Add TALXIS.Platform.Metadata.Packaging PackageReference
- Update DI registration and using statements

Depends on: TALXIS/platform-metadata#48

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@metjuperry metjuperry closed this May 7, 2026
@metjuperry metjuperry deleted the feature/use-packaging-library branch May 7, 2026 16:09
@metjuperry metjuperry restored the feature/use-packaging-library branch May 7, 2026 16:10
@metjuperry metjuperry reopened this May 7, 2026
- Changed TALXIS.Platform.Metadata.Packaging version from 1.0.0 to 0.4.0
  to match other TALXIS.Platform.Metadata packages
- Restored 'using TALXIS.CLI.Platform.Dataverse.Application.Sdk' in
  DataverseSolutionExportService.cs — SolutionExporter still lives there

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant