Skip to content

fix: run schema validation on solution builds and disable plugin auto-pack - #100

Open
zekelinAlex wants to merge 1 commit into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/solution-schema-validation
Open

fix: run schema validation on solution builds and disable plugin auto-pack#100
zekelinAlex wants to merge 1 commit into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/solution-schema-validation

Conversation

@zekelinAlex

Copy link
Copy Markdown
Collaborator

Wires the existing ValidateSolutionComponentSchema target into the solution build (after ProcessCds, before packaging), so component XML/JSON gets schema-checked on every build instead of only when invoked by hand. Opt out with SkipSchemaValidation=true.

Also fixes a regression from #96: Microsoft.PowerApps.MSBuild.Plugin.props defaults GeneratePackageOnBuild to true, so Pack ran after every plugin/workflow activity build and hit the new "cannot be packed" guard. Those project types now set GeneratePackageOnBuild=false; explicit dotnet pack still errors as intended.

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