Closed
Description
Android application type
.NET Android (net7.0-android, net8.0-android, etc.)
Affected platform version
.NET 8
Description
Context: https://github.com/dotnet/project-system/blob/main/docs/build-acceleration.md
Context: https://github.com/dotnet/project-system/blob/main/docs/up-to-date-check.md
Using Visual Studio 17.8, there is a new feature that skips running MSBuild "builds" in some cases during incremental builds.
This currently has an issue in Android projects:
WARNING: Potential build performance issue in 'XamarinTV.Android.csproj'.
The project does not appear up-to-date after a successful build:
Input ResolvedCompilationReference item 'C:\Users\daortin\source\repos\app-xamarintv\XamarinTV.Android\obj\Debug\net8.0-android\_Microsoft.Android.Resource.Designer.dll' (2023-12-11 11:34:12.546) has been modified since the last successful build started
There is a new item group we can add _Microsoft.Android.Resource.Designer.dll
to that will solve this problem and improve build performance inside VS.
/cc @davidortinau
Steps to Reproduce
- Create an Android app project
- References an Android class library
- Read the diagnostic project system logs
Did you find any workaround?
No
Relevant log output
No response