You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error CS8795: Partial method 'S.CompactAtaRegex()' must have an implementation part because it has accessibility modifiers.
Notes:
I have double checked that the regex generator output is correct, including the class names and namespace names and everything. In fact pressing F12 on the partial function name takes you directly to the sourcegen output.
I have tried enabled the IncludePackageReferencesDuringMarkupCompilation flag that was supposed to let source generators bypass WPF, but that didn't fix the issue.
Interestingly enough, if you remove the <support:IntNullableHasValue x:Key="IntNullableHasValue"/> line from App.xaml (ie all resource references), the source generator output gets compiled again and the problem disappears.
The text was updated successfully, but these errors were encountered:
Version Used:
VS 17.2 Preview 2
Steps to Reproduce:
Clone https://github.com/myblindy/RegexGeneratorWpfIssue and try to build.
The error message is:
Notes:
IncludePackageReferencesDuringMarkupCompilation
flag that was supposed to let source generators bypass WPF, but that didn't fix the issue.<support:IntNullableHasValue x:Key="IntNullableHasValue"/>
line fromApp.xaml
(ie all resource references), the source generator output gets compiled again and the problem disappears.The text was updated successfully, but these errors were encountered: