I am building an application which requires accessing Dropbox. Since there is no api for windows phone yet, i am using the ReactiveOAuth to achieve this.
I was referring to this tutorial, http://blogs.developpeur.org/kookiz/archive/2011/11/13/wp7-upload-a-file-to-dropbox-using-reactiveoauth-wp7.aspx.
I have followed all the steps, but VS shows an error saying
Error 1 'DropBoxTest.MainPage' does not contain a definition for
'RequestToken' and no extension method 'RequestToken' accepting a
first argument of type 'DropBoxTest.MainPage' could be found (are you
missing a using directive or an assembly reference?)
I have added all the mentioned classes and references. Could anyone please have a look and help?
You should take a look to Spring.NET Dropbox.
It supports WP7 and provides a sample too.
http://www.springframework.net/social-dropbox/
Related
I have a Xamarin.Forms application and I need to be able to manage a DB. I'm developing in Microsoft Visual Studio 2017 and I'm following this tutorial dor the SQLite: https://msdn.microsoft.com/en-us/magazine/mt736454.aspx
The problem is that when I get to the point: Figure 6 Generating a Connection String in the Universal Windows Project, that is to say implementing the DatabaseConnection_UWP.cs class. There I get some errors:
using LocalDataAccess.UWP;
Here it says: The type or namespace name "LocalDataAccess" could not be found (ar you missing a using directive or an assembly reference?)
And in the line:
[assembly: Dependency(typeof(DatabaseConnection_UWP))]
It says: The type or namespace name "DatabaseConnection_UWP" could not be found (ar you missing a using directive or an assembly reference?)
The code is exactly the same, all I have done is to copy-paste from the tutorial.
Solved it following a different tutorial that worked perfectly: https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/databases/
I am using .NET 4.5/4.6 and C#.
I am trying to follow the following sites Generic DAL and Entity Framework with my winforms application. I was able to implement link 2, however after implementing part of link 1 (specifically after moving my model Text Template, I have errors stating that The type or namespace name 'ObservableListSource<>' could not be found (are you missing a using directive or an assembly reference?)
What namespace do I need to reference at the project level to fix this for my solution or what reference do I need to include with my text template in order for the entities to contain no errors?
Assuming you're using this ObservableListSource the proper namespace would be System.Data.Entity
Found it. the answer is at the beginning of Databinding with winforms. Its a section of code that was overlooked several times and not a c# keyword.
I would like to use the open source code from here - Roger Lipscombe's .NET wizard form classes.
Unfortunately for me my target is a Windows Mobile 6.5 device and not a Win7/VS 2010 project. So since I could not use the projects as is I decided to create the two dependency projects by hand for the mobile device in VS2008.
Things seemed to go well until I tried to compile.
I am not sure now why i get the following error:
Error 1 The type or namespace name 'CategoryAttribute' could not be
found (are you missing a using directive or an assembly
reference?) C:\Development\SmartDeviceProject1\Wizard.Controls\EtchedLine.cs 50
The line of code is:
[Category("Appearance")]
I think the open source project is using .NET 2 and the mobile project is 3.5.
I am a C++ developer trying to make a mobile app with a wizard UI.
Can someone perhaps point out what I may be missing and what this error means and how to fix it?
EDIT
Thanks all who answered.
Commenting those decorators out fixed the problem (though I have a lot of issues apparently with things that are NOT supported in the compact framework. Oh well - it wa worth a shot)
The CategoryAttribute is used when the control is loaded in visualstudio i.e. when editing the form and how to find the associated property in the property grid. You could probbaly just comment it out with no ill effects. The associated property will just appear somewhere else in the grid.
The category attribute can just be commented out without any negative consequences.
If you have that error with other code, ask again and we'll try to help you find an equivalent for .NETCF or a workaround.
It appears that [Category("Appearance")] adds a new Design-time option in the
Designer under the "Appearance" category in this instance.
Note that in the examples that I've found use [CategoryAttribute("Appearance")]
The property is then followed by a variable, as the sample you've provided would allow you to set a color for Light and Dark of an etched line.
Here is a very detailed article on the subject, however the line of code [Category("Appearance")] may not be required as it's for the Designer only.
http://msdn.microsoft.com/en-us/magazine/cc164159.aspx#S8 - Figure 11
I write a program in WINCE5(c# 2.0) and want to interaction with my web service also written in C#2.0.
But when I use WSDL utility to generate a Service.cs and refer to it in my CE project as usual. I found I can not pass compile due to:
The type or namespace name 'AsyncCompletedEventArgs' does not exist in the namespace 'System.ComponentModel' (are you missing an assembly reference?)
As you may know, there're some differents in .NET Compact framework. But who can kindly tell me how to fix the issue?
Look here: http://msdn2.microsoft.com/en-us/library/ms229663.aspx
I've heard nice stuff about the NavigateToString() C# method, but i can't seem to be able to use it =(
I have a System.Windows.Forms.WebBrowser in a panel, and when i try to call NavigateToString() it says:
"Error: 'System.Windows.Forms.WebBrowser' does not contain a definition for 'NavigateToString' and no extension method 'NavigateToString' accepting a first argument of type 'System.Windows.Forms.WebBrowser' could be found (are you missing a using directive or an assembly reference?)
C:\Users\Name\documents\visual studio 2010\Projects\TestPHPNavigateToString\TestPHPNavigateToString\Form1.cs TestPHPNavigateToString"
I didn't find anyone with the same issue oO, is there a particular dll i should add a reference to?.
I have vs2010 with .Net FrameWork 4.0, i just reinstalled it just to be sure, but it feels like I'm missing something here =o
Thanks.
The method NavigateToString is available on System.Windows.Controls.WebBrowser and not System.Windows.Forms.WebBrowser
http://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser.navigatetostring.aspx
-> PresentationFramework (in PresentationFramework.dll)
Do you have this reference?