-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xamarin.Android.Build.Tasks] Updating NuGet packages does not update…
… the app Fixes #7890 We found and issue where if you upgraded a NuGet Package it did not up date the assemblies in the `$(IntermediateOutputPath)android\assets` folder. We have a unit test which checks this particular scenario, but it was disabled on .net during the port to .net 6. We never got back to enable it. The issue it turns out is that NuGet not longer populates the `ProjectLockFile` property. As a result we never stored the `_NuGetAssetsTimestamp` in the `build.props` file. This causes the `_CleanIntermediateIfNeeded` target to be skipped when it really should run. Switching over to using the `ProjectAssetsFile` property to populate the `_NuGetAssetsTimestamp` property fixes the issue. Also the unit test was updated to work on both Legacy and .net.
- Loading branch information
1 parent
43dc9ba
commit eb155d0
Showing
3 changed files
with
12 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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