Skip to content

Commit 497bcbe

Browse files
fix(SourceGenerators): NativeCtorsGenerator will execute after XamlCodeGenerator
1 parent d690944 commit 497bcbe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/SourceGenerators/Uno.UI.SourceGenerators/NativeCtor/NativeCtorsGenerator.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
namespace Uno.UI.SourceGenerators.NativeCtor
1616
{
1717
[Generator]
18+
#if NETFRAMEWORK
19+
[GenerateAfter("Uno.UI.SourceGenerators.XamlGenerator." + nameof(XamlGenerator.XamlCodeGenerator))]
20+
#endif
1821
public class NativeCtorsGenerator : ISourceGenerator
1922
{
2023
public void Initialize(GeneratorInitializationContext context)

0 commit comments

Comments
 (0)