Can anyone know, how can I import the Microsoft.Sharepoint dll to a console application? I want to test a CAML query result without deploying a sharepoint site. I added the dll to the app’s references and of course the using directive too, but when I build the program it can’t find that…
Can anyone know, how can I import the Microsoft.Sharepoint dll to a console application?
Share
Sorry for late reply and thanks the assist for everyone. I founded the problem’s solution. The problem occurs at compile time the namespace seemingly missed. The solution was I needed to change the target framework and the target platform to the same as the original Sharepoint application.