Couple of days ago I’ve decided to get to know more with Lync 2013 SDK.
The purpose is to use it for monitoring, anyway, I was trying to install that on one of my servers, so I have installed .NET 4.5 and Lync SDK as well as Visual Sudio 2012. I was using http://blogs.technet.com/b/csps/archive/2011/05/05/sendim.aspx as a guide.
I have even remembered about registering DLL with regsvr32 Microsoft.Lync.Model.DLL
After successful installation I was all happy to send my first IM message with Powershell.
How deep was my sadness when I received message saying that:
Could not load file or assembly ‘System.Windows.Browser, Version=126.96.36.199…
So my first thought was about the error I was receiving during registering of the DLL:
The module “.\Microsoft.Lync.Model.dll” was loaded but the entry-point DLLRegistetrServer was not found.
But if believing the message, despite of the error, DLL library has been loaded.
I thought it was the case of Windows Server 2012 I was using for that, so I have tried the same on 2008 – same situation.
And the last thought came to my mind in the evening that day…
Definitely that error message was not in relation to only Lync SDK but to some standard .NET classes, I realized there was one message when installing Visual Studio 2012:
So the message was only telling about “working in the best way” with IE10. But still, worth trying.
After upgrading the IE to version 10 I was able to successfully import Lync Model module to Powershell session:
And of course was able to send my first IM in Lync over my beloved Powershell!!!