-
Problem description: Actual behavior: Minimal repro:
This error only occurs when MSBuild properties are used. I tested it with |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
@loop8ack Had the exact same error! What worked for me was to explicitly set This was changed from Default = false to Default = true between net5 and net6 |
Beta Was this translation helpful? Give feedback.
-
|
You are right, it works with that, thank you. But it still sounds like a bug, so I'll leave this issue open. |
Beta Was this translation helpful? Give feedback.
-
|
@singhashish-wpf Why was the issue closed? It still needs to be fixed. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, As the answer suggested we have set
|
Beta Was this translation helpful? Give feedback.
@loop8ack Had the exact same error!
What worked for me was to explicitly set
<IncludePackageReferencesDuringMarkupCompilation>false</IncludePackageReferencesDuringMarkupCompilation>in the csproj of my wpf...
This was changed from Default = false to Default = true between net5 and net6