I am getting the following error:
“The type or namespace name ‘SolrNet’ could not be found (are you missing a using directive or an assembly reference?)”
I have created a new console application in VS2010 and added into program.cs the line
“using SolrNet;”
I’ve added the project reference to SolrNet.dll version 0.4.0.2002.
Some versions of solr require a reference to system.web but I do not want to do this and I believe this version doesn’t have that as a requirement. I’ve used the object browser and added references to Nhibernate, Castle, Niject and all the other objects.
How can I get my console app to recognise the SolrNet dll?
In the project properties, change the Target Framework from .NET Framework 4 Client Profile to simply .NET Framework 4