Android framework version
net8.0-android
Affected platform version
.NET 8.0.303
Description
When changing item metadata from true to false or vice versa, dotnet build doesn't pick the change up, I need to perform a dotnet clean first before dotnet build works again.
msbuild.binlog.zip
Steps to Reproduce
- Create a new Android binding library
- Add an AAR to the project and select AndroidLibrary as build action (should add a blank
<Bind></Bind>)
- Set
<Bind> to false.
- Build the project through the .NET CLI
- Set
<Bind> to true
- Build the project through the .NET CLI again and see that it produces the same result of not binding the AAR
Did you find any workaround?
Perform dotnet clean first after changing from true to false or vice versa.
Relevant log output
No response
Android framework version
net8.0-android
Affected platform version
.NET 8.0.303
Description
When changing item metadata from
truetofalseor vice versa,dotnet builddoesn't pick the change up, I need to perform adotnet cleanfirst beforedotnet buildworks again.msbuild.binlog.zip
Steps to Reproduce
<Bind></Bind>)<Bind>tofalse.<Bind>totrueDid you find any workaround?
Perform
dotnet cleanfirst after changing fromtruetofalseor vice versa.Relevant log output
No response