Skip to content

Conversation

@zekelinAlex
Copy link

No description provided.

@zekelinAlex
Copy link
Author

  • Added new Dataverse packages (PDPackage/ScriptLibrary/Sdk) with their own targets/props.
  • Updated Solution targets: import ScriptLibraries/OverridePAC and add a safe no-op ApplyPluginVersionNumberInSolution.
  • Extended Tasks: added EnsureWebResourceDataXml and EnsureSolutionRootComponents.

@zekelinAlex
Copy link
Author

Solution
Implemented automatic patching of Solution.xml via the PatchSolutionXml task. Added auto-detection of project types in references so the Solution identifies Plugin, ScriptLibrary, and WorkflowActivity projects correctly. During Solution build, plugins and WorkflowActivity projects are built automatically and data.xml files are generated for them. For web resources from ScriptLibrary, added automatic RootComponent insertion into Solution.xml and name resolving with PublisherPrefix applied.

Plugin
Added ProjectType=Plugin. Created the GetPluginAssemblyInfo target that returns assembly info.

ScriptLibrary
Added auto-detection for RunNodeBuild=true when package.json is present. Added support for a custom output filename via ScriptLibraryName. Configured copying the built JS file into the output directory and fixed paths to the TypeScript build directory.

WorkflowActivity
Created a new NuGet package for Workflow Activity. Added ProjectType=WorkflowActivity and the GetWorkflowActivityAssemblyInfo target to retrieve assembly info. Configured automatic version generation and import of PowerApps WorkflowActivity targets.

PDPackage / CmtPackage
Renamed DataPackage to CmtPackage. Added include/exclude filtering for CMT packages via IncludedCmtPackages and ExcludedCmtPackages. Implemented automatic merging of data.xml and data_schema.xml from multiple CMT packages and updating ImportConfig.xml.

Tasks
Added MSBuild tasks: PatchSolutionXml, AddRootComponentToSolution, EnsurePluginAssemblyDataXml, EnsureWorkflowActivityAssemblyDataXml, MergeCmtDataXml, MergeCmtDataSchemaXml, AppendCmtDataFileToImportConfig, ResolveWebResourceName. Updated the version generation logic.

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