Cannot use .net standard with V2019

7 posts, 0 answers
  1. David
    David avatar
    56 posts
    Member since:
    Nov 2011

    Posted 21 Apr Link to this post

    Why when I go file new project telerik app for xamrian that the project still builds with a pcl libary ealrier posts seem to say that it now can build with .net standard.

     

    However this is def not the case in Visual Studio 2019 Community release version.

    https://www.screencast.com/t/ZctVU8JOT

  2. Yana
    Admin
    Yana avatar
    4881 posts

    Posted 22 Apr Link to this post

    Hello David,

    Thank you for sending the video.

    I have just checked the Project Wizard for Xamarin.Forms projects in Visual Studio 2019 and indeed, there is a .Net Framework selector in the initial screen where .Net Standard option is missing, however, this field is disregarded when creating the solution. I mean that the Target Framework of the created Xamarin.Forms project is always .Net Standard 2.0.

    We will check whether we could remove the initial selector in order to avoid the confusion.

    Let me know if I can assist with anything else.

    Regards,
    Yana
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. David
    David avatar
    56 posts
    Member since:
    Nov 2011

    Posted 22 Apr Link to this post

    Yana,

      That is technically in correct the project still creates a pcl libary one so it does on selection.

  4. Yana
    Admin
    Yana avatar
    4881 posts

    Posted 22 Apr Link to this post

    Hello David,

    The created project is .Net Standard, just the namespace and assembly name are left with  "Portable" naming.  I've attached a short video to show you how it looks at my side.

    Could you check it out and let me know whether it's different on your side?

    Regards,
    Yana
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. David
    David avatar
    56 posts
    Member since:
    Nov 2011

    Posted 22 Apr in reply to Yana Link to this post

    Sorry it actually is .net standard what is in correct however is the project name within visual studio its showing portable that leaves a missconception open that it would be a pcl libary.

     

    https://www.screencast.com/t/4DJePSV8

  6. David
    David avatar
    56 posts
    Member since:
    Nov 2011

    Posted 22 Apr in reply to Yana Link to this post

    It actually is .net standard what is wrong is the fact you call it a portable libary which then leads to the confusion that its not a .net standard project.

     

    https://www.screencast.com/t/4DJePSV8

  7. Yana
    Admin
    Yana avatar
    4881 posts

    Posted 22 Apr Link to this post

    Hi David,

    Yes, that's the case - the namespace and the assembly name have "Portable" naming. We will consider removing it per your feedback.

    I am sorry for the caused confusion.

    Regards,
    Yana
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top