Skip to content

fix: solution import no longer hides build errors or imports stale zips - #179

Open
zekelinAlex wants to merge 1 commit into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/import-build-validation-issue-178
Open

fix: solution import no longer hides build errors or imports stale zips#179
zekelinAlex wants to merge 1 commit into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/import-build-validation-issue-178

Conversation

@zekelinAlex

Copy link
Copy Markdown
Contributor

When import builds a Build SDK project it relogged every build output line as
[INFO], so packager errors like "RootComponent validation failed" were
invisible. Then it just grabbed the newest zip from bin, which could easily be
a leftover from an older build.

Build output lines are now classified, errors log as errors, and the import
stops when the build reports errors even with exit code 0 (older SDK versions
do exactly that). Only a zip written by the current build is accepted.

Also stopped hardcoding bin/{config}/net462: the current Build SDK outputs to
net472, so the zip is now searched anywhere under bin/{config}.

Closes #178.

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.

solution import: build errors hidden as [INFO], stale zip imported, hardcoded net462 output path

1 participant