I have an existing MVC4 ASP.NET 4.0 project. I've added a new controller and I've referenced Osisoft.AFSDK.dll version 184.108.40.206. Tried to create PIServer object like:
PIServer myPiServer = new PIServers()["TEST"];
Everthing is Ok, IntelliSense working ok, Resharper throws no errors , but when I'm trying to compile the solution it gives me an error: The type or namespace name 'OSIsoft' could not be found (are you missing a using directive or an assembly reference?
Project Target Framework is .NET Framework 4.0. guess it should be enough right?