-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure all @(Compile) items appear in the Solution Explorer #4411
Conversation
Without files being added to None, the IDE will not display them
correct time for the build to be adjusted. | ||
--> | ||
<Target Name="_MauiRemovePlatformCompileItems" | ||
BeforeTargets="_MauiInjectXamlCssAdditionalFiles;GenerateMSBuildEditorConfigFileShouldRun" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At some point we might change GenerateMSBuildEditorConfigFileShouldRun
-> CoreCompile
everywhere, but let's do that later if this is working. Should we file an issue on that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! #4431
* Update MAUI Graphics * Update Forms.cs * Update DeviceInfo.ios.tvos.watchos.cs * Make sure all @(Compile) items appear in the Solution Explorer (#4411) * Add the ignored .cs files to None Without files being added to None, the IDE will not display them * Move the adjustments into a target * Fix coherent dependency (#4436) * Fix CoherentParentDependency * Revert back to Microsoft.AspNetCore.App.Runtime.win-x64 * Revert FileProviders.Embedded Co-authored-by: Matthew Leibowitz <mattleibow@live.com> Co-authored-by: Rui Marinho <me@ruimarinho.net>
Description of Change
This PR moves the logic to remove the Compile items from the various Platform/* folders. This is done in a separate target so that the IDE can evaluate the project and show all the files, but before any compilation/designer work is done, we make sire to adjust the list of Compile items to make sure we don't build Android on iOS or similar.
Partially fixes #4410
Additions made
PR Checklist
Does this PR touch anything that might affect accessibility?
If any of the above checkboxes apply to your PR, then the PR will need to provide testing to demonstrate that accessibility still works.