Solved

windows phone 8.1 development OnDrive

Posted on 2014-10-03
10
293 Views
Last Modified: 2014-11-12
HI all,
I'm trying to write an windows phone app for 8.1 and need to access OneDrive to open and save files.
I've read a lot and I'm stuck in the begining with the Live SDK.  I installed it but don't see it in my project.  I tried puting IMPORTS MICROSOFT.LIVE in; but the namespace is not found.
0
Comment
Question by:Thunder724
  • 6
  • 4
10 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40361558
You would need to add a reference to a DLL, before you can use imports.  Since I cannot do WP development on my PC, I would not know where the file is located, but my first guess is that it is in the GAC, and you should see it in the Add Reference dialog.
0
 
LVL 4

Author Comment

by:Thunder724
ID: 40365901
I installed it via the NuGet Package Manager and it says it is installed for my application yet I can not refrence the namespace, nor do I know what the dll name is for this Live SDK.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40365982
Do you have multiple projects?  

Can you show me the project references that you have for the project where you are trying to use the package?

It is possible to install a Nuget package into the wrong project, if you have a lot of projects in the solution.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Author Comment

by:Thunder724
ID: 40366008
Nope just one project
Capture.PNG
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40366562
Please attach a screen shot of the project references.
0
 
LVL 4

Author Comment

by:Thunder724
ID: 40366642
There is supposed to be a Microsoft.live namespace; but you can see that there isn't.  Also it seems that Windows Phone projects do not have a REFERENCES directory in the Solution Explorer.
Capture1.PNG
Capture2.PNG
Capture3.PNG
Capture4.PNG
Capture5.PNG
Capture6.PNG
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 40366662
When you installed the Nuget package, was there any errors?

If I suspect a problem installing a Nuget package, I use the Package Manager Console, instead of the UI dialog, so you can see if there any errors.
0
 
LVL 4

Author Comment

by:Thunder724
ID: 40367050
I did not see any errors. I also uninstalled it and reinstalled it.
0
 
LVL 4

Author Comment

by:Thunder724
ID: 40367103
I think I just got it to work.
I right clicked on the project and selected add reference.  I found that the Live reference was not selected.  Thanks for your patients.  You steered me in the right direction.
0
 
LVL 4

Author Comment

by:Thunder724
ID: 40367290
One other thing I would like to add for anyone else going through this issue.
It turns out that I also needed to download/install the sdk from the Microsoft website for it to have even shown up in the sdk's to be added as an option.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question