Solved

windows phone 8.1 development OnDrive

Posted on 2014-10-03
10
287 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 4

Author Comment

by:Thunder724
Comment Utility
Nope just one project
Capture.PNG
0
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
Please attach a screen shot of the project references.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 4

Author Comment

by:Thunder724
Comment Utility
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
Comment Utility
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
Comment Utility
I did not see any errors. I also uninstalled it and reinstalled it.
0
 
LVL 4

Author Comment

by:Thunder724
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now