Make sure you also deploy the references with your library:
- Newtonsoft.Json (≥ 5.0.8)
- Microsoft.Bcl (≥ 1.1.3)
- Microsoft.Net.Http (≥ 2.2.15)
Question
I created a library for interacting with WindowsAzure.MobileServices
[ProgId("MyPush.ClientLib")]
[ClassInterface(ClassInterfaceType.AutoDual)]
[Guid("********-****-****-****-************")]
[ComVisible(true)]
public class ClientLib
{
private static MobileServiceClient MobileService;
private IMobileServiceTable<TodoItem> todoTable;
public ClientLib()
{
/*
MobileService = new MobileServiceClient(
"https://galpush.azure-mobile.net/",
"*******************************");
todoTable = MobileService.GetTable<TodoItem>();
*/
}
i used regasm to register my library but when i try to init new MobileServiceClient i have error 80070002
Solution
Make sure you also deploy the references with your library: