Telerik UI for MAUI and MAUI preview 13

3 Answers 356 Views
BusyIndicator
Dmitry
Top achievements
Rank 1
Iron
Dmitry asked on 25 Feb 2022, 09:53 AM

Im install VS v17.2.0 Preview 1.0 wich include .NET MAUI preview 13. Create new sample MAUI project.
Project is worked properly.
After add Telerik MAUI support. Project build failed with errors:

Severity Code Description Project File Line Suppression State
Error PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry. MauiApp2 D:\work\net\MauiApp2\MauiApp2\WINAPPSDKGENERATEPROJECTPRIFILE 1
Error PRI222: 0x80073b0f - Unspecified error occurred. MauiApp2 D:\work\net\MauiApp2\MauiApp2\WINAPPSDKGENERATEPROJECTPRIFILE 1

Solution attached..

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 28 Feb 2022, 07:08 AM

I have also this eerror.

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 28 Feb 2022, 02:07 PM

Hello guys,

We just released Telerik UI for .NET MUI Preview 0.5.0 which is updated to .NET MAUI Preview 13, please check the release notes here:

Telerik UI for .NET MAUI Preview (version 0.5.0)

You just need to update the Telerik.UI.for.Maui nuget to 0.5.0 to successfully build and run the app.

Regards,
Yana
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/.

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 28 Feb 2022, 02:36 PM

Thanks:)
0
Alexander
Top achievements
Rank 1
Iron
answered on 22 Mar 2022, 07:03 AM

Hi,

I am still receiving this error with Telerik MAUI 0.5.0 using the example above.

(VS 17.2.0 Preview 2.0, .NET MAUI Preview 14)

Is there anything else I can do?

 

Thank you very much in advance!

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 22 Mar 2022, 08:20 AM

VS 17.2.0 Preview 2.0, .NET MAUI Preview 14 is working with Telerik MAUI 0.6.0.
Alexander
Top achievements
Rank 1
Iron
commented on 22 Mar 2022, 09:45 AM

Thank you very much.

Do you already know when MAUI 0.6.0 is going to be released?

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 22 Mar 2022, 10:33 AM

Lance | Manager Technical Support
Telerik team
commented on 22 Mar 2022, 12:57 PM

HI folks!

As Daniel stated, v0.5.0 was built with .NET MAUI preview13, there's just no way to use it with preview14. We're working hard to release v0.6.0 as soon as possible, which is built with preview14.

You can keep an eye on the Release History page or check in on Daniel's linked other forum thread (I'll post there when it's available).

Arkady
Top achievements
Rank 1
Iron
Iron
commented on 14 Apr 2022, 10:10 AM

Hi, today installed MAUI RC1  (with VS 17.2 preview 3) and issue appear again! How do you release it, 3 month already you cannot fix the bug, how developers can use your components when bug is keep appearing with every release ?
Lance | Manager Technical Support
Telerik team
commented on 14 Apr 2022, 12:51 PM

Hi Arkady,

This is just the reality when working with preview SDKs and is par for the course, it is fully expected behavior. Please let me explain.

There is a strong warning from Microsoft to expect breaking changes for every single preview release of .NET MAUI. Thus, it is fully expected that a library built with preview13 will not work with preview14, and a library built with preview14 will not work RC1.

This should be easier now that we're in Release Candidate territory, meaning that going from RC1 to RC2 will hopefully have no breaking changes, but even that is not guaranteed. We are building the library on top of RC1 right now and will have a new release soon.

Until v1.0.0 is available, please keep in mind the following facts in mind

  • Expect breaking code changes every preview release
  • Expect that packages are not backwards compatible with prior preview SDKs
  • Do not expect production-ready code that you can publish (in fact, you cannot legally publish an app with UI for MAUI until it reaches v1.0)

We are getting close to .NET MAUI general availability release, but until then, I ask that you please understand this is how it goes when using preview technology and be patient in between releases. In the meantime, we continue to look forward to your feedback about specific features and API surface areas as we build out the UI for MAUI controls.


Arkady
Top achievements
Rank 1
Iron
Iron
commented on 14 Apr 2022, 03:50 PM

I'm ok with breaking code changes, my worry is because it is the same problem appearing again and again, for me it looks like you didnt fixed it properly... or whatever...

And now i just tried on Mac and there is also an issue but different, so is more understandable... something broken with new release, so i can rollback to preview 14 and use it, but with that Duplicate Entry one - i dont have any working release , so keep using preview 12 and telerik 0.4.0 !!!, because no more working combination of telerik 0.4.0, 0.5.0, 0.6.0 and preview 13, 14 or rc1 - it just same error every release, so here is why my patience is over!

 

Lance | Manager Technical Support
Telerik team
commented on 14 Apr 2022, 04:29 PM

Completely understandable! To clarify things, and hopefully add some sanity, here how the release numbers line up:

  • .NET MAUI preview 12 <-> Telerik UI for MAUI 0.4.0
  • .NET MAUI preview 13 <-> Telerik UI for MAUI 0.5.0
  • .NET MAUI preview 14 <-> Telerik UI for MAUI 0.6.0
  • .NET MAUI RC1 <-> Telerik UI for MAUI 0.7.0

We are close to finishing up UI for MAUI 0.7. We've already rebuilt the base on top of .NET MAUI RC1, handled all the breaking changes and are currently in the process of running all our tests to make sure there are no regressions.

I'd expect that we'll be able to release it tomorrow, assuming no breaking changes, but I don't want to promise that you because it's still possible that it would need to get to get delayed a day or two due to a regression (which happened last time).

Rest assured that we want you to have 0.7.0 as soon as possible. I will personally come back to this thread and let you know when its available.

If you cannot wait, then you'll want to use .NET MAUI preview14 and Telerik UI for MAUI 0.6.0 (though it is rather difficult to downgrade .NET MAUI after it has been updated to the next preview/RC).

Pro Tip

As far as the Duplicate entry is specific to Windows projects. When you do eventually migrate to RC1, please carefully read the .NET MAUI Migration release notes as it has important information about changes and stuff you need to remove from your csproj.

My best trick for this is do not use a csproj that was generated for a previous preview. There are changes in the SDK that may require different setup in the csproj and sometimes importantly a different project structure overall (especially if you created that project before preview13). So, I recommend that you generate a new blank MAUI project with the same namespace as your existing project (File > New Project > .NET MAUI), then copy your code files into the new project.

At a minimum, you should at least replicate the new csproj contents in the old project's csproj. This particularly will fix Windows dependency build issues because RC1 no longer requires Windows NuGet packages.

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 14 Apr 2022, 05:13 PM

so once you moved to version 7

We need to update vs to 17 preview 3

Create new project with same namespace 

And copy the files from old project to new one.




 

Lance | Manager Technical Support
Telerik team
commented on 14 Apr 2022, 05:38 PM

Correct, once 0.7.0 is available,  you can then update to .NET MAUI RC1 by updating VS 2022 Preview (to v17.2.0 Preview 3.0). Updating VS will also update .NET MAUI for you at the same time.

Daniel, as far as your projects go,  I'm not sure if you need a new csproj. The demos you have been sending me are okay, but you still need to remove the Windows dependencies manually. I'm not sure if your real project needs to be updated to RC1 standards or not. You can incrementally test

  • If it works with RC1 after you remove the Windows dependencies from the csproj, then you're good.
  • If it doesn't work, then a whole-project-transplant might be needed.

After RC1, these kinds of things should no longer be needed, but there's still a very small chance. After 1.0, then you're stable.

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 14 Apr 2022, 05:43 PM

can you please explian what are window depencies i should remove, sniped code will be great.
Lance | Manager Technical Support
Telerik team
commented on 14 Apr 2022, 06:33 PM

Read the MAUI RC1 article here => Migrating to RC1 · dotnet/maui Wiki (github.com). Windows specific topic is closer to the bottom, but I recommend skimming the other parts in case you are using any of those namespaces, services or classes.
Arkady
Top achievements
Rank 1
Iron
Iron
commented on 19 Apr 2022, 04:33 AM

Seems it was overpromised...
Lance | Manager Technical Support
Telerik team
commented on 19 Apr 2022, 03:10 PM

HI Folks, Telerik UI for MAUI 0.7.0 is now available.  You can see the release notes here => Telerik UI for MAUI - Telerik UI for .NET MAUI Preview(version 0.7.0)

Remember that this is built for .NET MAUI RC1, so do not update your project's Telerik dependencies until you've updated your SDK to RC1. You will want to carefully review Microsoft's guidance in their ongoing Migration guides => Migrating to RC1 · dotnet/maui Wiki (github.com) 

Arkady
Top achievements
Rank 1
Iron
Iron
commented on 19 Apr 2022, 05:34 PM

Thank you so much! I understand how much issues you had overcame to made that release!
0
Arkady
Top achievements
Rank 1
Iron
Iron
answered on 12 May 2022, 04:33 PM

It's so crazy same error with every MAUI release... I did recreated project totaly from scratch with RC1, then RC2 broke your components again, glad you were provided new 0.8 build very quick and now same error again ? I just cannot imaging , it is release candidate already and api is frozen, there should be no breaking changes but SAME bug again and again, just updated by VS to 17.3 and MAUI RC3 and project build gave Duplicate entry again ! That is VM and did clean build, even tried do Clean one more time and rebuild, and it keep giving me that error

Arkady
Top achievements
Rank 1
Iron
Iron
commented on 12 May 2022, 04:57 PM

Upgrading to 0.9.0 didnt fix the problem!
Lance | Manager Technical Support
Telerik team
commented on 12 May 2022, 06:01 PM

Make sure you do a full clean and rebuild, otherwise VS isn't going to properly pull in everything it needs because it caches packages and assemblies for faster builds.

I recommend closing Visual Studio, then deleting the MAUI project's bin and obj folder. After that's gone, you can go back into VS and do a Rebuild.

The same problem happens to me every time I update a package and forget to clean it.

Arkady
Top achievements
Rank 1
Iron
Iron
commented on 12 May 2022, 06:08 PM

I found the cause, somehow you components interfere with CommunityToolkit.Maui (see my screenshot above). This time it helped to upgrade CommunityToolkit.Maui to RC3. Now can build project!

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 13 May 2022, 11:38 AM

Did Telerik 9 is ready?
Lance | Manager Technical Support
Telerik team
commented on 13 May 2022, 12:46 PM

Yes, Daniel, it is ready, you can take the following steps:

  1. - Update VS 2022 Preview (to 17.3 Preview 1.0)
  2. - Update .NET MAUI to RC3 (open Powershell and run 'dotnet workload install maui --ignore-failed-sources')
  3. - Update your project to use Telerik UI for MAUI to v 0.9.0
  4. - Clean and Rebuild the project
Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 13 May 2022, 01:14 PM | edited

Hi,

In step 3 not to open new project and copy the files 

From RC2 to  RC3?  

I don't have shell in my project?

Lance | Manager Technical Support
Telerik team
commented on 13 May 2022, 02:16 PM

I'm not sure what Shell has to do with this. I can't guide you on code migration, this is specific to your project on whether you need to or not.

I do recommend, to at least, create a new RC3 project and look at the changes there. Microsoft switched to using MSBUILD identifiers for platform conditions:

 

A note about Tizen. Microsoft added a platform folder for Samsung's Tizen framework in the RC3 project template. Telerik UI for MAUI doesn't have support for Tizen. So if you do create a new project to use, you can delete that platform folder/target from your project.

Tags
BusyIndicator
Asked by
Dmitry
Top achievements
Rank 1
Iron
Answers by
Yana
Telerik team
Alexander
Top achievements
Rank 1
Iron
Arkady
Top achievements
Rank 1
Iron
Iron
Share this question
or