I am working on windows phone 8
Thy type or namespace name 'SqLite' could not be found (are you missing a using directive or an assembly reference?)
My process was
I cloned git repo into my local.
I added that c++ project (Sqlite) into my existing project.
Than i added Sqlite-net ( SQLite.cs and SQLiteAsync.cs) into my project.
Than created USE_WP8_NATIVE_SQLITE compilation symbol successfully.
But than i build my project it shows same error for three lines in "SQLite.cs" which are following.
using Sqlite3 = Sqlite.Sqlite3;
using Sqlite3DatabaseHandle = Sqlite.Database;
using Sqlite3Statement = Sqlite.Statement;
Please help me to solve this problem, my VS2012 is well configured and fulfilling the requirment for creation Sqlite DB into WP8.
Need Help, Thanks in advance.
I have successfully done, i was missing the one step that was adding sqlite existing project as a reference. So after completion all steps me have to add SQLite existing project as reference in my existing project.
it worked fine.
Thank you all.
Related
I am new in Xamarin.Forms and I want use the bar code scaner by Zxing.
however I install the plugin form nuget:
1)ZXing.Net.Mobile for Forms
2) ZXing.Net.Mobile. -> install it since I read somewhere it would help my problem but its not.
as far as I understood I need to add this line: to the Android project in main Activity
However alotugh I install the packages I am still getting an error of:
The type or namespace name 'Andorid' does not exist in the namespace 'ZXing.Net.Mobile.Forms' (are you missing an assembly reference?) ScannerZXing.Android
what can I do? (perofrm clean and rebuild for the project didn't help)
also would like to add that it is added in the referecnes of the projects.
Thanks for the ansewrs.
In my case the reason was that I installed only ZXing.Net.Mobile.Forms. After installing ZXing.Net.Mobile it`s gone. (two libraries need to be installed)
UPDATE: After trying to run the project I discovered that you actually need both Nuget Packages
Previous: Just in case anyone had the same issue as me there are actually two ZXing.Net.Mobile packages both of which by Redth. They both have the exact same description as well unfortunately. I tried the first one which at the time of this writing had the most downloads... however it produced the error as described. By uninstalling and reinstalling the second I resolved the issue:
I encounter this kind of error when I debug a project
I already have EntityFramework.dll, System.Core.dll, System.Data.Entity but still Core is not referenced.
Can someone help me?
I'm having error in this Line
using System.Data.Entity.Core.Objects;
This is the error:
The type or namespace name 'Core' does not exist in the namespace 'System.Data.Entity' (are you missing an assembly reference?)
Enrique, I had this problem crop up when I started opening a project on my desktop that I had normally been opening on my VM. Masoud's answer is not helpful... I don't think he read your original post.
What I did to clear this compile error up was to open NuGet package manager and install the update that was available for EntityFramework. I had version 6.1.1 installed in the project and I upgraded to 6.1.3. I should not have had the error to start with, but upgrading the version appeared to jiggle whatever it was loose because I started compiling fine after that.
Sometimes, when you add references from other sources than nuget manager (example: Local source) you need to verify the HintPath of that reference before moving your application in another environment
I'm using creating a .Net 4.0 application to post stuff to Twitter using the Tweetinvi API. I can't use packages, so I've downloaded the dll's and added them to my project:
Yet my includes are showing errors:
My error console shows:
Error 423 The type or namespace name 'Core' does not exist in the
namespace 'Tweetinvi' (are you missing an assembly
reference?) {...file...}.cs 10 17 ApiProviders
Can anyone tell me why this happens and how I could fix this?
Tweetinvi requires the Bcl.Async package. You need to add that too.
Check all the dependencies and make shure all are installed.
BUT as already said I highly recommend using NuGet for this. If you are not allowed to use the "public feed" you can download the packages and put them in a local folder and add this folder as a new feed in Visual Studio.
Have you tried downloading the project from the download page?
https://tweetinvi.codeplex.com/downloads/get/852208
I am currently working on windows application in c# and currently I met one problem.
I started to creating the windows application in notepad++ because I not able to use VS. I am using cmd to compile the code. I will add that I have one *.dll file, which is used by the application.
Now I am trying to move my code to VS. I created new solution and I used add existing item to include my code files. I also added reference to the *.dal file. I also added using namespace statment in my MainForm.cs file. Now I get problem because when I am tryind go tompile the code I got error:
The type or namespace name 'DataAccessLayer' could not be found
(are you missing a using directive or an assembly reference?)
I am wondering where I made mistake?
Original post here.
In the project properties, change the Dotnet framework from 2.0,3.0 or 3.5 to 4, compile and run!
I want to connect through code c# with wamp mysql but have some problem...
Under MySql of this line
using MySql.Data.MySqlClient;
I have error
Error 1
The type or namespace name 'MySql' could not be found (are you
missing a using directive or an assembly reference?)
I have searched this problem from net but according to that solutions, my microsoft visual 2008 should have mysql.data and web.data in add reference but I don't have these references
If any one have any alternative solution then please help me
thanks
you need to run through the installation of the mysql connector libraries, then add a reference to them in your project. after that, you should be able to add the using statement for MySql.Data.MySqlClient.
You have to add MySQL as a reference.
http://msdn.microsoft.com/en-us/library/7314433t%28v=vs.80%29.aspx
Of course, you'll have to install/download them first.
Make sure that you have the necessary assemblies referenced in your project (in Solution Explorer there is a References section. You can view and add through that).
Also, if you do have the above complete, then you need to have using yourNameSpace;.