Open Digifais opened 2 months ago
We were looking at MSBuild's logic, and putting blank <Bind></Bind>
really does clear it. It would invalidate the <ItemDefinitionGroup>
here:
@jonathanpeppers So this is really a non-issue and might just be a VS4Mac bug that it adds a blank <Bind></Bind>
?
@Digifais yes, it looks like it might be that way.
If you see it not taking the change <Bind>true</Bind>
vs <Bind>false</Bind>
we could look into that.
@jonathanpeppers As mentioned in the Discord, I indeed need to perform a dotnet clean
first when changing the value.
I renamed the title, thanks.
Updated the issue description.
Android framework version
net8.0-android
Affected platform version
.NET 8.0.303
Description
When changing item metadata from
true
tofalse
or vice versa,dotnet build
doesn't pick the change up, I need to perform adotnet clean
first beforedotnet build
works again.msbuild.binlog.zip
Steps to Reproduce
<Bind></Bind>
)<Bind>
tofalse
.<Bind>
totrue
Did you find any workaround?
Perform
dotnet clean
first after changing fromtrue
tofalse
or vice versa.Relevant log output
No response