-
Notifications
You must be signed in to change notification settings - Fork 705
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
InnerLoop: NavigationView build broke in recent PR #3733
Comments
I think the best solution would be to reference it just for the NavigationView control, adding it to every innerloop build makes the innerloop less "inner"loop. |
It is also worth pointing out that adding the RadioButtons control to the innerloop (either "globally" or only as an additional NavigationView dependency) only increases the build time the first time solution would be built. Subsequent builds will use incremental building which will not be affected by including the RadioButtons control in the build process. Generally, I believe it makes sense to utilize WinUI controls opposed to OS XAML controls if they add benefits to the test UI. It's also likely to be a narrowly-scoped scenario (i.e. a control like NavigationView won't suddenly require a whole bunch of additional projects/controls to be built as part of its test UI). Of course, where possible, I think we should still use OS XAML to ensure the innerloop keeps efficient. Given all this, it should be fine to include the RadioButtons control as a dependency for the NavigationView control (looking at it from an innerloop perspective) though using OS XAML also wouldn't be an issue. |
Yes, innerloop items would make a difference upon first compile, but if we go that route, I could also use full loop. We are only minimizing fresh compile time with the innerloop. If a WinUI control is the easier solution, I think we should use them, even if we need to adjust the innerloop because of that. |
I personally try to use OS XAML where possible in my test UI because I would gladly take 1-2 more minutes development time (such as adding the different event handlers to each RadioButton) when in return I get some 15 second boost for each clean innerloop build. (I am almost exclusively using the innerloop solution so I quite often do clean innerloop builds. Other folks might not be affected by that depending on their use of innerloop vs full solution.) Of course, as I said earlier, if WinUI controls will provide "considerable" benefits in the test UI in cases for me, I would use them. Either way, it is acceptable to me to add the RadioButtons control to the NavigationView build in the innerloop. Besides, in this case, we also benefit from both controls sharing a dependency - the ItemsRepeater control - so the additional clean build time is not increased by the full RadioButtons control build time anyway). |
Adding the dependency seems like the right thing to do here. Thanks |
With recent PR #3602, building the NavigationView in the inner loop now fails because some of the added test code now uses the WinUI RadioButtons control. The
RadioButtons
control, however, is not recognized, if it isn't part of the inner loop build process.I see the following potential solutions here. We could either
@ranjeshj @chingucoding as a FYI.
The text was updated successfully, but these errors were encountered: