Adding "System.Data.SQLite" as a reference - system.data.sqlite

when I was building my project done in ASP.NET and C#, it produced the following error:
The type or namespace name 'SQLite' does not exist in the namespace 'System.Data' (are you missing an assembly reference?"
So, when I tried to add it as a reference, I was not able to find "System.Data.SQLite" in my library.
How do I overcome this problem?

You get it (as a dll), then add a reference to it.
download here
for example install to C:\Program Files\SQLite.NET and browse to:
C:\Program Files\SQLite.NET\bin

I found that the best way to do this is to enter the following into the Package Manager Console:
Install-Package System.Data.SqLite

Try to search for System.Data.SQLite.DLL file (using windows explorer search) or if you have not yet installed it just download it from the net.
For more information try to read this.

For those folks that downloaded SQLite but can't get the DLL to show up in VS2010:
I've downloaded the latest SQLite build for my environment, but I still couldn't get the DLL to show up under References> Add Reference> .Net tab.
To fix this, I went into the Add Reference Window and selected the Browse Tab and just browsed to the DLL file in the install directory\bin folder. Now it shows up fine.

You need to download System.Data.SQLite, then you can add it to your project.

Related

build failed due to "Cannot open include file: 'WinHttpClient.h': No such file or directory"

I'm trying to build new product version using plastic.
I have added 4 header files to our working project compiled it locally and it works fine.
When I try to build a new solution to our product build is failing due to:
"HandleMessage.cpp(4): fatal error C1083: Cannot open include file: 'WinHttpClient.h': No such file or directory".
Do i need to add this files manually somewhere in plastic or something?!
I'm despaired there is no one at our company that knows the proper way to do it.
Any help will be appreciated.
For those who encounters this problem, the solution is simple.
You probably forgot to add the files to the source control.
You go to Items->Open Your project, look at the files to see if they marked as checked. If not marked as checked, select those items and then right click->add to source control. After that build a new version and pray to god! :)

Add a jar file to my Xamarin project

I am wanting to add the "universal-image-loader jar" file to my Xamarin project and am not sure what I need to do. I have had a look at this resource but would still like some help please: itexico.com/blog/bid/100447/Android-Wear-Developer-Preview-Using-Xamarin-Jar-Binding
Here is what I have done so far:
Downloaded https://github.com/nostra13/Android-Universal-Image-Loader
Created a folder called "Jars" in the root folder of my Xamarin project
I have added the "universal-image-loader-1.9.2-with-sources.jar" file to the "Jars" folder
I have set the build action to "embedded resource" for the "universal-image-loader-1.9.2-with-sources.jar" file
I have successfully build the project
I still cannot use the ImageLoaderobject in my application. I cannot resolve a ImageLoaderobject and am not sure what else I need to do.
May I please have some help?
Thanks in advance
I'd suggest you use Java Bindings Library for that.
What you need to do is to add a project to your solution of type "Android Java Bindings Library" you DON'T need to create Jars folder it is created in the new project by itself. Add your jars there. On your startup project click on references and add the java binding project you have just created as a reference. build it and try accessing your assembly either by adding it in the using section or by it's fully qualified name.
Good luck!

following tutorial but not giving me the options it should

i'm following the http://skywalkersoftwaredevelopment.net/blog/writing-an-orchard-webshop-module-from-scratch-part-3 tutorial word for word but there is no option for me to enable or disable SkyWalker.Webshop.
I have done as it asks, created the 'Skywalker.Webshop' folder inside the 'modules' folder. delete the class1.cs file and add the Module.text file.
However when I load the application there is no option in the modules/features page that allows me to enable or disable webshop (why does it not appear)
anyone have any idea as to why?
Thanks
according to what mentioned in the tutorial :
Orchard requires that your module exists physically in the Modules directory.
make sure you have supplied right directory when creating class library, cause visual studio uses most recent directory supplied for project of type class library when you attempt to add new class library to orchard solution.
hope this help you out.
Maybe try it in another way:
Using command line tool (Orchard.exe under bin folder)
type the following
feature enable Orchard.CodeGeneration
Then,
codegen module Pluralsight.Movies /IncludInSolution:true
Hints:
use "help commends", "help codegen module"
to help you understand the command line.

IntelliJ, Grails - I deleted a file and nothing works anymore

I need help with IntelliJ, my project isnt starting anymore, I googled but cant find a solution. It started when I deleted a newly created file, a grails Service file.
First, the grails view disappeared. Adding new Framework Support to the project and get the view back via tool windows didnt work.
I also have no "grails" option in the tool menu anymore.
When I run the project (I had to re-setup the run configuration, it was all sort-of-deleted too), the console shows me this error:
Application expects grails version [1.2.3], but GRAILS_HOME is version [1.3.7].
All my Team memebers use 1.3.7 too, so I dont know why this should work.
Can somebody help me please.
Please let me know if you require more information to help me!
thanks a lot in advance!
daniel
how much modules can you see in the project view? there must be one for your grails application named and one for your grails plugins -grailsPlugins. maybe you accidentally deleted one of those intellj modules. the modules files are located under your project root and named as follows: .iml. in intellij go to file -> project structure -> modules. there you can add a existing module by clicking the + symbol and select your existing module for importing.
If the file was compiled at least once then I guess one can open the .class file with intellij and see the code. However all coments will be remove of course.

where to find "package com.rim.samples.docs.notifications;"

i a developing blackberry aplication using eclipse can any one tell where to find the following library
package com.rim.samples.docs.notifications;
i have downloaded it from blackberry site but i dont know how to use it
com.rim.samples.docs namespace is common for samples BlackBerry Application Developer Guide.
On the other hand, "package" token defines the packege namespace, not the import.
If you have downloaded code and post it to namespace with other name, you may have trouble to compile it. Resolve it in two ways:
1. if your code file is placed directly in project src folder, simply remove
package com.rim.samples.docs.notifications;
from code, this will set namespace to default.
2. in project src folder create folder "com\rim\samples\docs\notifications" and move file to folder "notifications".

Resources