I'm using Visual Studio Team Services to automate the Build of my C# / VB.Net solution.
In one of the Projects we've made use of the Mobile Broadband API. The Solution / Project builds without any issues when done from my local development machine but when it comes to automating the build in VSTS, there is a build error in the Project that uses the MbnAPI. Some details in the VSTS build logs are:
Cannot get the file path for type library "dcbbbab6-0001-4bbb-aaee-338e368af6fa" version 1.0. Library not registered.
Warning BC40056: Namespace or type specified in the Imports 'MbnApi' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
This error was thrown on both a cloud-hosted build server and an in-house custom build server.
This MbnAPI dll wasn't added to the project via NuGet as it isn't available via these means. I thought the problem was due to it's "Embed Interop Types" Property in the Project being set to "True" so tried changing it to "False" and "Copy Local" to "True" but it didn't make any difference.
Has anyone got any ideas to fix this VSTS build error?
Thanks in advance