Repository navigation
[Xamarin.Android.Build.Tasks] Fix IncrementalClean on msbuild. - #1063
Merged
Merged
Conversation
Context: https://bugzilla.xamarin.com/show_bug.cgi?id=60880 Commit 552ad5d added code to make sure the `designtime` build files are NOT deleted by the `IncrementalClean` target. While it fixed the issue for `xbuild` it did NOT fix it for `msbuild`. As a result the file was still deleted. So we need to add the file to the target in the Xamarin.Android.Windows.targets to ensure that it is NOT removed (just like the mdb files).
jonpryor
approved these changes
Dec 4, 2017
jonathanpeppers
left a comment
Member
There was a problem hiding this comment.
The only thing that scares me about this one, is a missing test.
Would something like this test: https://github.com/xamarin/xamarin-android/blob/master/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest.cs#L1844
If you added a regular (non-design-time) build after it and make sure all the right files are still there. Would that probably fail before this change?
Contributor
Author
|
@jonathanpeppers we have a test already. It was failing locally when running in the IDE because we run msbuild. On Jenkins etc we are still running xbuild which is why we missed it. |
jonathanpeppers
approved these changes
Dec 4, 2017
jonpryor
pushed a commit
that referenced
this pull request
Dec 4, 2017
Context: https://bugzilla.xamarin.com/show_bug.cgi?id=60880 Commit 552ad5d added code to make sure the `designtime` build files are NOT deleted by the `IncrementalClean` target. While it fixed the issue for `xbuild` it did NOT fix it for `msbuild`. As a result the file was still deleted. So we need to add the file to the target in the Xamarin.Android.Windows.targets to ensure that it is NOT removed (just like the mdb files).
jonpryor
added a commit
that referenced
this pull request
Dec 4, 2017
Context: https://bugzilla.xamarin.com/show_bug.cgi?id=60880 Commit 552ad5d added code to make sure the `designtime` build files are NOT deleted by the `IncrementalClean` target. While it fixed the issue for `xbuild` it did NOT fix it for `msbuild`. As a result the file was still deleted. So we need to add the file to the target in the Xamarin.Android.Windows.targets to ensure that it is NOT removed (just like the mdb files).
jonpryor
pushed a commit
that referenced
this pull request
Jan 21, 2020
Changes: https://github.com/xamarin/monodroid/compare/2c9ce23d...dab75e88 Fixes: https://work.azdo.io/1041849 Fixes: https://developercommunity.visualstudio.com/content/problem/858509/adb0030-monoandroidtoolsrequiresuninstallexception-2.html * xamarin/monodroid@dab75e880: Bump to xamarin/android-sdk-installer/d16-5@5adcbfa (#1066) * xamarin/monodroid@3293f67a9: Bump to xamarin/android-sdk-installer/d16-5@dd6e2c0 (#1063) * xamarin/monodroid@8ecaa9d30: [tools/msbuild] prevent InstallPackageAssemblies from reporting two errors (#1058) (#1064) * xamarin/monodroid@284b81933: Bump to xamarin/androidtools/d16-5@62844ab (#1062)
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Context: https://bugzilla.xamarin.com/show_bug.cgi?id=60880
Commit 552ad5d added code to make sure the
designtimebuildfiles are NOT deleted by the
IncrementalCleantarget.While it fixed the issue for
xbuildit did NOT fix it formsbuild. As a result the file was still deleted.So we need to add the file to the target in the
Xamarin.Android.Windows.targets to ensure that it is NOT
removed (just like the mdb files).