Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Darsh0307 opened this issue Apr 25, 2024 · 3 comments · May be fixed by #2336
Open
Assignees
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.

Comments

@Darsh0307
Copy link

Darsh0307 commented Apr 25, 2024

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 Darsh0307 added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Apr 25, 2024
@agneszitte
Copy link
Contributor

agneszitte commented Apr 25, 2024

@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
Copy link
Contributor

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 agneszitte self-assigned this Apr 25, 2024
@nickrandolph nickrandolph changed the title [MauiEmbedding-Windows] [SyncFusion] Without license the project is not building for windows. [MauiEmbedding] Windows - SyncFusion - Without license the project is not building for windows. May 7, 2024
@agneszitte agneszitte assigned vatsashah45 and unassigned agneszitte May 8, 2024
@agneszitte
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants