When building the Microsoft.Toolkit.Services project, the WPFPopup XAML page for the net462 target is not getting its .i.g.cs content generated properly, causing missing members compilation errors.
Install .NET 5.0.100-preview.6.20277.5, build the solution.
This looks like a .NET 5 issue, where the MarkupCompilePass1 does not seem to be executed at all, even though Page ItemGroup items are present.
As a workaround, adding this to the global.json file works around the issue:
"sdk": {
"version": "3.1.201",
"rollForward": "latestPatch"
},
Hello jeromelaban, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 馃檶
Thanks @jeromelaban for highlighting the issue!!
Thanks @jeromelaban we hadn't noticed an issue yet, but had also only last tested with preview4 on our machines.
Do you know if there's a .NET issue open for anything like this?
FYI @azchohfi
I do not know if there is an existing one. Mentioned it here as I'm not sure where it should be going :)
@tommcdon @MichalStrehovsky any thoughts on what @jeromelaban is seeing here? Or know the right folks to pull in to this?
I have .NET 5 Preview 4.20258.7 on my machine and have no troubles, so this appears like a regression in the .NET 5 Preview?
@tommcdon @MichalStrehovsky any thoughts on what @jeromelaban is seeing here? Or know the right folks to pull in to this?
I have .NET 5 Preview 4.20258.7 on my machine and have no troubles, so this appears like a regression in the .NET 5 Preview?
Here is the runtime issue for your reference: https://github.com/dotnet/runtime/issues/37672.
@tommcdon Is it expected that the removal of WinRT affects the WPF the toolchain ?
@tommcdon Is it expected that the removal of WinRT affects the WPF the toolchain ?
Adding @ryalanms who might be able to comment.