You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Xamarin.Android.Build.Tasks] use designtimebuild.props
Context: #1933
Context: #1943
One of the issues I noticed while debugging the issue with #1933 is
that `$(IntermediateOutputPath)build.props` gets invalidated if
`$(DesignTimeBuild)` changes. `build.props` triggers alot of targets
to build completely again, so this is pretty bad for our build times
in an IDE...
Design-Time Builds can run quite frequently in VS Windows, and we
don't want to rebuild a bunch of things unnecessarily when the user
switches back to a regular build.
So a solution, is to use a `designtimebuild.props` that works
independantly of `build.props`. This prevents some slower targets from
running when they shouldn't, such as `_UpdateAndroidResgen`.
I added a test to validate these changes, which also verify that
`IncrementalClean` isn't deleting these files.
0 commit comments