I've created one .net application to connect to a SharePoint environment and create some folders at a specific path.
While creating an object of the web I'm facing below error -
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
Additional information: Could not load file or assembly 'Microsoft.SharePoint.Library, Version=18.104.22.168, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
Does anyone have face similar problem in the past? If yes then please advise how to get rid of this.