This is a migrated thread and some comments may be shown as answers.

Telerik Data Access Samples Kit

4 Answers 69 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Waqar
Top achievements
Rank 1
Waqar asked on 21 Oct 2014, 12:19 PM
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.

4 Answers, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 23 Oct 2014, 08:44 AM
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.
 
0
Waqar
Top achievements
Rank 1
answered on 23 Oct 2014, 11:16 AM
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.
0
Doroteya
Telerik team
answered on 24 Oct 2014, 01:56 PM
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.
 
0
Waqar
Top achievements
Rank 1
answered on 24 Oct 2014, 08:04 PM
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.

Tags
Getting Started
Asked by
Waqar
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Waqar
Top achievements
Rank 1
Share this question
or