Solved

windows phone 8.1 development OnDrive

Posted on 2014-10-03
10
294 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

Suggested Solutions

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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