Telerik Data Access Samples Kit

5 posts, 0 answers
  1. Waqar
    Waqar avatar
    7 posts
    Member since:
    Apr 2014

    Posted 21 Oct 2014 Link to this post

    I tried to open ASP.NET MVC with Data Annotations sample using the option "Open Solution" on Samples Kit console.

    Following are the errors I have received "This example has the following requirements that are not met. This sample is using Nuget Package ... ". I downloaded the Nuget from the link give on this error screen. Run the Nuget installer and then got following message "This extension is already installed to all applicable products."

    see here: http://i.imgur.com/skJLJo6.png

    Also, I already have checked "Automatically check for missing packages during build in Visual Studio"

    Windows 7 Professional Service Pack 1
    Not sure but it seems that there is some difficulty in running the application from "Program Files (x86)" folder due to administrative rights although my user is already added in Administrator group.
  2. Doroteya
    Admin
    Doroteya avatar
    502 posts

    Posted 23 Oct 2014 Link to this post

    Hello Waqar,

    I am sorry for the inconvenience you experienced.

    The behaviour your observe, could appear when Options dialogue of Package Manager Settings is not closed through the OK button. Following you can find a workflow, which is both a test for the cause of the problem, and a solution (if indeed the closing of the dialogue failed):

    1. Close Samples Kit.
    2. Start Visual Studio and open the Options dialogue (TOOLS > NuGet Package Manager > Package Manager Settings).
    3. Enable the Package Restore settings.
    4. Make sure to close the dialogue through the OK button.
    5. Start Samples Kit and try to open the solution of the sample again.

    In case you are unable to open the solution of the sample after applying this workflow, could you provide us with details about the version of Visual Studio, the version of NuGet Package Manager, and the content of the NuGet.Config file, which is located in the %APPDATA%\NuGet folder.

    I am looking forward to your feedback.


    Regards,
    Doroteya
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
  3. DevCraft banner
  4. Waqar
    Waqar avatar
    7 posts
    Member since:
    Apr 2014

    Posted 23 Oct 2014 in reply to Doroteya Link to this post

    It seems Step 3 is obsolete now. see: http://i.imgur.com/LgI4JQk.png

    I didn't find any restore option.
    http://stackoverflow.com/questions/11261310/nuget-dont-see-allow-nuget-to-download-missing-packages-during-build

    Please let me know how to open the samples from Samples Kit.
  5. Doroteya
    Admin
    Doroteya avatar
    502 posts

    Posted 24 Oct 2014 Link to this post

    Hello Wazar,

    Excuse me for the confusion you experienced.

    In step 3 you need to make sure that the two check-boxes - Allow NuGet to download missing packages and Automatically check for missing packages during build in Visual Studio - are checked, as demonstrated on the attached screenshot.

    Once this requirement is fulfilled, you need to click the OK button of the dialogue. At this moment you can start Samples Kit again and try to open the solution of the sample.

    Do let us know if you need further assistance.


    Regards,
    Doroteya
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
  6. Waqar
    Waqar avatar
    7 posts
    Member since:
    Apr 2014

    Posted 24 Oct 2014 in reply to Doroteya Link to this post

    Thanks for the reply! These two check are already there. To give it a try again i follow the steps again and this time cleared the cache as an extra step. Now it is just started. Thanks.

Back to Top
DevCraft banner