uno.extensions icon indicating copy to clipboard operation
uno.extensions copied to clipboard

[MauiEmbedding] Windows - SyncFusion - Without license the project is not building for windows.

Open Darsh0307 opened this issue 10 months ago • 3 comments

Whenever trying to create a project using Syncfusion its working for all the platforms , Unfortunately you cant run the project without the license for Windows only.

In order to run the project you need to have a SyncFusion license .

For example :-

Here is a application created using SyncFusion Maui Pop up

With License

If you go to EmbeddedControl.xaml.cs inside MauiEmbedding.MauiControls folder then you can add the license key inside Line 9 between the Quotation Marks After that only the project is building or else its showing us an exception error.

Without License Without license its showing an exception for windows only

And the exception error message is like this

Screenshot 2024-04-25 at 12 05 41 PM

PopUp.zip

Darsh0307 avatar Apr 25 '24 16:04 Darsh0307

@nickrandolph, @dansiegel, @Darsh0307 I am curious, is this related to the known issue mentioned in the doc where we need to remove the Source property on the MauiHost and set the Source in the codebehind instead? image Or is it something new ?

agneszitte avatar Apr 25 '24 16:04 agneszitte

After syncing with @dansiegel, I will help update the documentation to make sure we mention a valid license is needed and adjust the current note I shared above with something similar to: When running on Windows without a valid Syncfusion license (in demo mode) the app will crash due to the Demo Mode dialog being launched too early. You can work around this by setting the Control Type in your MauiHost from the Loaded event.

agneszitte avatar Apr 25 '24 19:04 agneszitte

@vatsashah45 we can sync on this one when you will do the syncfusion single project migration + doc update

agneszitte avatar May 08 '24 04:05 agneszitte