Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

windows phone 8.1 development OnDrive

Posted on 2014-10-03
10
Medium Priority
?
322 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Suggested Courses

885 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