+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Getting Telerik.Sitefinity.Security using nuget

Getting Telerik.Sitefinity.Security using nuget

5 posts, 1 answered
  1. Shriyal
    Shriyal avatar
    2 posts
    Registered:
    25 May 2016
    09 Aug
    Link to this post

    Is there way to install package to get Telerik.Sitefinity.Security? 

    I tried 

    Install-Package -ProjectName MyUtilsForSF Telerik.Sitefinity.Security

    I have sitefinity as provider for Nuget. I see lot of packages from sitefinity; but I need to add reference to Telerik.Sitefinity.Security and Telerik.Sitefinity.Security.Model. Neither I see download to these dll, nor I can use nuget. My last resort is to search disk to these dll if they are part of sitefinity install and point to the file(s). But Nuget would be better

    Thanks.

    Answered
  2. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    Registered:
    01 Jul 2014
    09 Aug in reply to Shriyal
    Link to this post

    Telerik.Sitefinity.Security inside Telerik.Sitefinity.dll

    Telerik.Sitefinity.Security.Model inside Telerik.Sitefinity.Model.dll

    Both dlls inside this nuget package http://nuget.sitefinity.com/#/package/Telerik.Sitefinity.Core

    Install-Package Telerik.Sitefinity.Core

  3. Shriyal
    Shriyal avatar
    2 posts
    Registered:
    25 May 2016
    09 Aug in reply to Victor Leontyev
    Link to this post

    IT partially solved the issue, as my c# imports are not giving error. But to compile I need Telerik.OpenAccess.SPI.dataobjects.PersistenceCapable

    var userManager = UserManager.GetManager("Default");

    does not compile.

  4. Shriyal
    Shriyal avatar
    2 posts
    Registered:
    25 May 2016
    09 Aug in reply to Shriyal
    Link to this post

    error CS0012: The type 'Telerik.OpenAccess.SPI.dataobjects.PersistenceCapable' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.OpenAccess, Version=2016.1.224.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342'. 

    Can you point me to what dll is in what package instead of getting into this loop? Nuget doesn't seem to bring dependencies.

    Thanks.

  5. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    Registered:
    01 Jul 2014
    10 Aug in reply to Shriyal
    Link to this post

    You need to install http://nuget.sitefinity.com/#/package/Telerik.DataAccess.Core

     

    Install-Package Telerik.DataAccess.Core

5 posts, 1 answered