Clean up app from symbols folder if it already exists before compilation#4819
Merged
aholstrup1 merged 3 commits intomainfrom Sep 19, 2025
Merged
Clean up app from symbols folder if it already exists before compilation#4819aholstrup1 merged 3 commits intomainfrom
aholstrup1 merged 3 commits intomainfrom
Conversation
mazhelez
approved these changes
Sep 19, 2025
tomasmsft
approved these changes
Sep 19, 2025
miljance
pushed a commit
to miljance/BCApps
that referenced
this pull request
Oct 22, 2025
…ion (microsoft#4819) <!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> When we compile apps in clean mode we start by compiling the app in "default" mode i.e. without preprocessor symbols. However, in some cases the folder that holds the apps built in "default" mode may already contain the app we're about to build. To avoid issues, we can remove the app file before we recompile in default mode to ensure that the .app file was built without preprocessor symbols etc. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Related to [AB#603840](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/603840)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When we compile apps in clean mode we start by compiling the app in "default" mode i.e. without preprocessor symbols. However, in some cases the folder that holds the apps built in "default" mode may already contain the app we're about to build. To avoid issues, we can remove the app file before we recompile in default mode to ensure that the .app file was built without preprocessor symbols etc.
Work Item(s)
Related to AB#603840