Empty project of MAUI

1 Answer 436 Views
General Discussions
Daniel
Top achievements
Rank 1
Silver
Bronze
Daniel asked on 03 Mar 2022, 01:06 PM
Hi,

Can you please attach empty project with MAUI reference to TELERIK nuget packges ans call it

AutomationClient.MAUI. in net 6.

The reason I have problem with my project.

Thanks,

 

 

 

 

 


 

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 04 Mar 2022, 05:53 AM

can you provide how to add content page and content view
Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 04 Mar 2022, 06:02 AM

screenshhots
Yana
Telerik team
commented on 04 Mar 2022, 08:45 AM

There is nothing specific related to our .NET MAUI controls when adding ContentPage/ContentView to the project. You just need to go to Add New Item option from the project context menu and select the needed view:

You can download and test the runnable solution with ContentViews and our Telerik.UI.for.Maui nuget package referenced from the following forum thread: https://www.telerik.com/forums/change-content-of

In addition, if you have Telerik UI for .NET MAUI installed through the MSI installation, you can use our VSExtensions and create directly a new .NET MAUI app pre-configured to use the Telerik.UI.for.Maui nuget package. Please take a look at the following topic for more details on this: Visual Studio Extensions.

Let me know if I can help with anything else.

 

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 06 Mar 2022, 10:16 AM

I uninsalled and insalled from scratch vs 2022 v17 version 2.

And later I follow this instructions.

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 06 Mar 2022, 10:55 AM

This is OK ?

Yana
Telerik team
commented on 07 Mar 2022, 12:05 PM

Microsoft Visual Studio Offline Packages nuget source comes with the Visual Studio installation to help restore some system nuget packages without network.  I noticed you have our Telerik NuGet configured, so you're ready to install Telerik.UI.for.Maui nuget package.
Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 07 Mar 2022, 01:01 PM

Thanks :)

1 Answer, 1 is accepted

Sort by
0
Lance | Senior Manager Technical Support
Telerik team
answered on 03 Mar 2022, 04:39 PM

Hello Daniel,

There is no difference between the structure of a normal MAUI project and a MAUI project with the Telerik NuGet package installed.

Here are the steps:

  1. Open Visual Studio 2022 Preview and select File > New Project > select MAUI project template and name it "AutomationClient.MAUI"
  2. After the project is generated, right-click on the Solution and choose "Rebuild"
  3. IMPORTANT: Confirm you have a working project by building deploying to a platform, for example Android emulator. 
    • If this does not work, there is something wrong with your SDK installation and need to figure that out before continuing.
  4. Right-click on the project, select Manage NuGet Packages and install the "Telerik.UI.for.MAUI" package
    • If you have never used the Telerik NuGet server before, follow these instructions => Telerik NuGet Server.
  5. Repeat step #2


Pro Tip

Instead of doing If you already have the Telerik NuGet server in your Visual Studio, you can just edit the csproj file and add this line

<ItemGroup>
    <PackageReference Include="Telerik.UI.for.MAUI" Version="0.5.0" />
</ItemGroup>

Regards,
Lance | Manager Technical Support
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Silver
Bronze
Answers by
Lance | Senior Manager Technical Support
Telerik team
Share this question
or