Solved

windows phone 8.1 development OnDrive

Posted on 2014-10-03
10
291 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 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