Moved Development to new machine, now it won't compile - xamarin

My laptop died so I restored my code to my desktop. I use Xamarin for VS 2017. When I compile I get a "java exited with code 1" error, the logs contain the following:
Xamarin.VisualStudio.TastyPackage|Information|0|Hooked up SDB tracing adapter
Xamarin.VisualStudio.TastyPackage|Information|0|Initialization finished
Xamarin|Information|0|Xamarin - 4.12.3.83-d15-9+23fa80172
Xamarin.VisualStudio.TastyPackage|Information|0|Hooked up SDB tracing adapter
Xamarin.VisualStudio.TastyPackage|Information|0|Initialization finished
Xamarin.VisualStudio.Android.XamarinAndroidPackage|Warning|0|Initializing Xamarin.VisualStudio.Android.XamarinAndroidPackage
Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\Users\HP_administrator\Documents\Visual Studio 2017\Projects\OML Android\OML Android\OML Android.csproj'
System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A\_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233
at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A\_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33
Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\Users\HP_administrator\Documents\Visual Studio 2017\Projects\OML Android\OML Android\OML Android.csproj'
System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A\_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233
at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A\_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33
Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\Users\HP_administrator\Documents\Visual Studio 2017\Projects\OML Android\OML Android\OML Android.csproj'
System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A\_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233
at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A\_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33
Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\Users\HP_administrator\Documents\Visual Studio 2017\Projects\OML Android\OML Android\OML Android.csproj'
System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A\_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233
at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A\_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33
Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\Users\HP_administrator\Documents\Visual Studio 2017\Projects\OML Android\OML Android\OML Android.csproj'
System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A\_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233
at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A\_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33
This is not the entire log (won't fit here), but you should get the idea.
I have no idea what these errors mean, am I missing some package registrations or some such?

Turns out the installation folder on Windows 10 is different than Windows 7. I restored my backup-up to \User\\source\repos and everything compiled and deployed successfully.

Related

Visual Studio 2017 instance is not opened

Can anyone have any idea why Visual studio instance is not getting opened and how can I fix that. Below is error details I found from Visual Studio logs & system.
Visual Studio 2017 (15.9.22)
.Net Framework : 4.7 OS
Windows Server 2016
MSVCP120_CLR0400.dll is either not designed to run on Windows
C:\Windows\system32\MSVCP120_CLR0400.dll is either not designed to run
on Windows or it contains an error. Try installing the program again
using the original installation media or contact your system
administrator or the software vendor for support. Error status
0xc000012f.
The type initializer for '' threw an exception.
LegacySitePackage failed for package [Environment Package Window
Management]Source: 'Microsoft.VisualStudio.Shell.15.0' Description:
The type initializer for '' threw an exception.
System.TypeInitializationException: The type initializer for
'' threw an exception. --->
.ModuleLoadException: The C++ module failed
to load during appdomain initialization. --->
System.DllNotFoundException:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll
---> System.ComponentModel.Win32Exception: %1 is not a valid Win32 application --- End of inner exception stack trace --- at
MS.Internal.NativeWPFDLLLoader.LoadNativeWPFDLL(UInt16* relDllPath,
UInt16* baseDllPath) at
MS.Internal.NativeWPFDLLLoader.LoadCommonDLLsAndDwrite() at
CModuleInitialize.{ctor}(CModuleInitialize* , IntPtr cleaningUpFunc)
at ?A0x4260310d.CreateCModuleInitialize() at
?A0x4260310d.??__E?A0x4260310d#cmiStartupRunner##YMXXZ() at
_initterm_m((fnptr)* pfbegin, (fnptr)* pfend) at .LanguageSupport.InitializePerAppDomain(LanguageSupport*
) at
.LanguageSupport._Initialize(LanguageSupport*
) at
.LanguageSupport.Initialize(LanguageSupport*
) --- End of inner exception stack trace --- at
.LanguageSupport.Initialize(LanguageSupport*
) at .cctor() --- End of inner exception stack trace --- at
Microsoft.VisualStudio.Shell.ThreadHelper.get_DispatcherForUIThread()
at Microsoft.VisualStudio.Shell.ThreadHelper.CheckAccess() at
Microsoft.VisualStudio.Shell.AsyncPackage.GetService(Type serviceType)
at Microsoft.VisualStudio.Shell.Package.Initialize() at
Microsoft.VisualStudio.Shell.AsyncPackage.Initialize() at
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider
sp).ModuleLoadException: The C++ module
failed to load during appdomain initialization. --->
System.DllNotFoundException:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll
---> System.ComponentModel.Win32Exception: %1 is not a valid Win32 application --- End of inner exception stack trace --- at
MS.Internal.NativeWPFDLLLoader.LoadNativeWPFDLL(UInt16* relDllPath,
UInt16* baseDllPath) at
MS.Internal.NativeWPFDLLLoader.LoadCommonDLLsAndDwrite() at
CModuleInitialize.{ctor}(CModuleInitialize* , IntPtr cleaningUpFunc)
at ?A0x4260310d.CreateCModuleInitialize() at
?A0x4260310d.??__E?A0x4260310d#cmiStartupRunner##YMXXZ() at
_initterm_m((fnptr)* pfbegin, (fnptr)* pfend) at .LanguageSupport.InitializePerAppDomain(LanguageSupport*
) at
.LanguageSupport._Initialize(LanguageSupport*
) at
.LanguageSupport.Initialize(LanguageSupport*
) --- End of inner exception stack trace --- at
.LanguageSupport.Initialize(LanguageSupport*
) at .cctor()System.DllNotFoundException:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll
---> System.ComponentModel.Win32Exception: %1 is not a valid Win32 application --- End of inner exception stack trace --- at
MS.Internal.NativeWPFDLLLoader.LoadNativeWPFDLL(UInt16* relDllPath,
UInt16* baseDllPath) at
MS.Internal.NativeWPFDLLLoader.LoadCommonDLLsAndDwrite() at
CModuleInitialize.{ctor}(CModuleInitialize* , IntPtr cleaningUpFunc)
at ?A0x4260310d.CreateCModuleInitialize() at
?A0x4260310d.??__E?A0x4260310d#cmiStartupRunner##YMXXZ() at
_initterm_m((fnptr)* pfbegin, (fnptr)* pfend) at .LanguageSupport.InitializePerAppDomain(LanguageSupport*
) at
.LanguageSupport._Initialize(LanguageSupport*
) at
.LanguageSupport.Initialize(LanguageSupport*
)System.ComponentModel.Win32Exception (0x80004005): %1 is not a valid
Win32 application

Azure DevOps Pipeline VsTest: Error Message: System.IO.FileNotFoundException : Could not load file or assembly 'Mono.Android

Mocking the interfaces using Moq package is not working on Azure DevOps CI Build Pipeline VsTask.
Xamarin Nunit test: VsTask failing with error
Error: The process 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe' failed with exit code 1
Failing with the error
Error Message:
System.IO.FileNotFoundException : Could not load file or assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. The system cannot find the file specified.
pool:
vmImage: 'vs2017-win2016'
demands:
- MSBuild
Xamarin.Android
JDK
vstest
task: VSTest#2
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: |
\UserModuleNUnitTest.dll
!*TestAdapter.dll
!\obj.
searchFolder:
'$(build.binariesdirectory)/$(BuildConfiguration)
codeCoverageEnabled: false
task: PublishTestResults#2
displayName: 'Publish API Test Results'
inputs:
testResultsFormat: VSTest
testResultsFiles: '**/*.trx'
All test cases should execute successfully as they are executing on local Visual Studio 2019.
Below errors in the logs of Build pipeline.
Failed Register_Api_Call
Error Message:
System.IO.FileNotFoundException : Could not load file or assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. The system cannot find the file specified.
Stack Trace:
at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
at System.Reflection.RuntimeMethodInfo.FetchNonReturnParameters()
at System.Reflection.RuntimeMethodInfo.GetParameters()
at Castle.DynamicProxy.Generators.MethodSignatureComparer.GetHashCode(MethodInfo obj)
at System.Linq.Set`1.InternalGetHashCode(TElement value)
at System.Linq.Set`1.Add(TElement value)
at System.Linq.Set`1.UnionWith(IEnumerable`1 other)
at System.Linq.Enumerable.DistinctIterator`1.FillSet()
at System.Linq.Enumerable.DistinctIterator`1.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Castle.DynamicProxy.Generators.MethodFinder.GetAllInstanceMethods(Type type, BindingFlags flags)
at Castle.DynamicProxy.Contributors.MembersCollector.CollectMethods(IProxyGenerationHook hook)
at Castle.DynamicProxy.Contributors.MembersCollector.CollectMembersToProxy(IProxyGenerationHook hook)
at Castle.DynamicProxy.Contributors.InterfaceProxyWithoutTargetContributor.CollectElementsToProxyInternal(IProxyGenerationHook hook)+MoveNext()
at Castle.DynamicProxy.Contributors.CompositeTypeContributor.CollectElementsToProxy(IProxyGenerationHook hook, MetaType model)
at Castle.DynamicProxy.Generators.InterfaceProxyWithoutTargetGenerator.GenerateType(String typeName, Type proxyTargetType, Type[] interfaces, INamingScope namingScope)
at Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.<>c__DisplayClass6_0.<GenerateCode>b__0(String n, INamingScope s)
at Castle.Core.Internal.SynchronizedDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Castle.DynamicProxy.Generators.BaseProxyGenerator.ObtainProxyType(CacheKey cacheKey, Func`3 factory)
at Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)
at Moq.Mock`1.InitializeInstance()
at Moq.Mock`1.OnGetObject()
at Moq.Mock`1.get_Object()
at Tests.Registration.Setup() in D:\a\1\s\UserModuleNUnitTest\Registration.cs:line 38
Results File: D:\a\1\s\TestResults\VssAdministrator_fv-az45_2019-08-24_11_45_24.trx
#Snehal Jadhav This could be because your application cannot find the assembly file - Mono.Android.
Could you re-run the test after verifying the below things?
path to the dll file is configured correctly?
you are not referring a
malformed assembly package you are using the correct version.
You can check for the version of the current dll file by viewing its details from a windows machine.

Problems using Twilio Programmable Voice in a Xamarin Android Bindings Library

I created a bindings library project to be able to run the Twilio's Android Programmable Voice SDK (v 2.0.5 - link to download .aar file).
I added this lines of code in Metadata.xml to fix some of the errors:
<!-- solving: Error CS0102 The type 'ErrorEventArgs' already contains a definition for 'P0' TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.IRegistrationListener.cs -->
<attr path="/api/package[#name='com.twilio.voice']/interface[#name='RegistrationListener']/method[#name='onError']" name="managedName">RegistrationListenerOnError</attr>
<attr path="/api/package[#name='com.twilio.voice']/interface[#name='UnregistrationListener']/method[#name='onError']" name="managedName">UnregistrationListenerOnError</attr>
<!-- Error CS0234 The type or namespace name 'InternalCall' does not exist in the namespace 'Com.Twilio.Voice' (are you missing an assembly reference?) TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Call.cs -->
<attr path="/api/package[#name='com.twilio.voice']/class[#name='InternalCall']" name="visibility">public</attr>
<!-- Error CS0115 'Call.OnWarning(IDictionary)': no suitable method found to override TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Call.cs -->
<attr path="/api/package[#name='com.twilio.voice']/class[#name='Call']/method[#name='onWarning' and count(parameter)=1 and parameter[1][#type='java.util.HashMap']]/parameter[1]" name="type">java.util.HashMap<java.lang.String, java.lang.Object></attr>
It compiles successfully but when i call Voice.Call() the method doesn't return anything and if i call it in the ui thread the ui keeps stuck forever. I paused the debugger so i can see what part of the code was running and it's waiting for the return of the follow line in Com.Twilio.Voice.Voice:
global::Com.Twilio.Voice.Call __ret = global::Java.Lang.Object.GetObject<global::Com.Twilio.Voice.Call> (JNIEnv.CallStaticObjectMethod (class_ref, id_call_Landroid_content_Context_Ljava_lang_String_Ljava_util_Map_Lcom_twilio_voice_Call_Listener_, __args), JniHandleOwnership.TransferLocalRef);
My hint is that probably some of the lines that i added in Metadata.xml are incorrect or i need to add some more.
I've got some warnings that may help solving the problem:
Warning Type com.getkeepsafe.relinker.ReLinker: FxDG naming violation: Type name 'ReLinker' matches namespace part 'Relinker'. RelinkerBindings C:\...\RelinkerBindings\BINDINGSGENERATOR
Warning Skipping Com.Getkeepsafe.Relinker.ReLinkerInstance.Force, due to a duplicate field, method or nested type name. RelinkerBindings C:\...\RelinkerBindings\BINDINGSGENERATOR
Warning Type com.getkeepsafe.relinker.ReLinker: FxDG naming violation: Type name 'ReLinker' matches namespace part 'Relinker'. RelinkerBindings C:\...\RelinkerBindings\BINDINGSGENERATOR
Warning ignoring option UseSplitVerifier; support was removed in 8.0 RelinkerBindings C:\...\RelinkerBindings\JARTOXML
Warning CS0108 'Call.IInternalListener.OnConnectFailure(Call, CallException)' hides inherited member 'Call.IListener.OnConnectFailure(Call, CallException)'. Use the new keyword if hiding was intended. TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Call.cs 17 Active
Warning CS0108 'Call.IInternalListener.OnConnected(Call)' hides inherited member 'Call.IListener.OnConnected(Call)'. Use the new keyword if hiding was intended. TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Call.cs 21 Active
Warning CS0108 'Call.IInternalListener.OnDisconnected(Call, CallException)' hides inherited member 'Call.IListener.OnDisconnected(Call, CallException)'. Use the new keyword if hiding was intended. TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Call.cs 29 Active
Warning CS0108 'Event.GetType()' hides inherited member 'object.GetType()'. Use the new keyword if hiding was intended. TwilioBindings C:\...\TwilioBindings\obj\Debug\generated\src\Com.Twilio.Voice.Impl.Session.Event.cs 222 Active
Warning IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled. TwilioBindings 1 Active
Warning For type Com.Twilio.Voice.InternalCall, base interface com.twilio.voice.RTCMonitorCommand.Listener is invalid. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning For type Com.Twilio.Voice.InternalCall, base interface com.twilio.voice.EventPublisher.EventPublisherListener is invalid. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning Type com.twilio.voice.Voice: FxDG naming violation: Type name 'Voice' matches namespace part 'Voice'. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning Type com.twilio.voice.Voice: FxDG naming violation: Type name 'Voice' matches namespace part 'Voice'. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning Invalid parameter type com.twilio.voice.EventPayload.WarningName in method OnWarningCleared in managed type Com.Twilio.Voice.InternalCall. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning Invalid parameter type com.twilio.voice.EventPayload.WarningName in method OnWarningCleared in managed type Com.Twilio.Voice.Call. TwilioBindings C:\...\TwilioBindings\BINDINGSGENERATOR
Warning ignoring option UseSplitVerifier; support was removed in 8.0 TwilioBindings C:\...\TwilioBindings\JARTOXML
Note: Because Twilio's Android Programmable Voice SDK has a dependency (ReLinker 1.2.2 (link to download .aar file)) i had to create another bindings library project (RelinkerBindings) to contain that dependency and then i referenced it in Twilio's bindings project.
I never did any bindings project before in xamarin so i'm kinda new to this.
Does anyone one knows how to solve this problem ?
Thanks in advance.
EDIT:
I've saw the logcat logs and this is what happens when i call Voice.Call():
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/getkeepsafe/relinker/ReLinker;
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at com.twilio.voice.UserAgent.loadLibrary(UserAgent.java:261)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at com.twilio.voice.UserAgent.<init>(UserAgent.java:57)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at com.twilio.voice.UserAgent.get(UserAgent.java:107)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at com.twilio.voice.CallCommandHandlerImpl.run(CallCommandHandlerImpl.java:50)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.getkeepsafe.relinker.ReLinker" on path: DexPathList[[zip file "/data/app/com.globalactone.ecare-1/base.apk"],nativeLibraryDirectories=[/data/app/com.globalactone.ecare-1/lib/x86, /system/fake-libs, /data/app/com.globalactone.ecare-1/base.apk!/lib/x86, /system/lib, /vendor/lib]]
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
04-27 10:17:00.118 7208 7247 E CallCommandHandlerImpl: ... 4 more
I added a reference to the RelinkerBindings project wich contains a dependency of the Twilio's project but somehow the logs where showing that the RelinkerBindings wasn't being found, so i removed the reference to the project and added a reference to the Relinker dll file and it works now.
Don't know why it wasn't working when it had a reference to the project.

aws toolkit breaks visual studio 2013 after install

I installed visual studio 2013 on a 64-bit Windows 7 machine and then installed the AWS toolkit (AWSToolsAndSDKForNet_sdk-2.3.39.0-ps-2.3.39.0-tk-1.9.3.1.msi) directly after. After installing the toolkit, the activity log contains the following errors when I attempt to start visual studio. No other changes were made to the installation. Any ideas?
24 ERROR No InprocServer32 registered for package [MRU Package]
%windir%\system32\mscoree.dll {8FF5C2A8-5EBA-4717-8EE1-46B6427D8FF3} 8007007e VisualStudio 2015/05/26 23:32:43.228
36 ERROR No InprocServer32 registered for package [MRU Package]
%windir%\system32\mscoree.dll {8FF5C2A8-5EBA-4717-8EE1-46B6427D8FF3} 8007007e VisualStudio 2015/05/26 23:32:50.026
60 ERROR No InprocServer32 registered for package [Microsoft.VisualStudio.PlatformUI.SolutionNavigatorPackage]
%windir%\SYSTEM32\MSCOREE.DLL {CF6A5C16-83B0-4D04-B702-195C35C6E887} 8007007e VisualStudio 2015/05/26 23:33:17.761
61 ERROR Construction of frame content failed. Frame identifier: ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057} Frame caption: Solution Explorer Exception details: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context) at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage() at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent() VisualStudio 2015/05/26 23:34:02.415
69 ERROR No InprocServer32 registered for package [MRU Package]
%windir%\system32\mscoree.dll {8FF5C2A8-5EBA-4717-8EE1-46B6427D8FF3} 8007007e VisualStudio 2015/05/26 23:34:03.169
75 ERROR No InprocServer32 registered for package [Global Search Package]
%windir%\system32\mscoree.dll {18333854-D2FF-44A3-98D8-40501B914D7D} 8007007e VisualStudio 2015/05/26 23:34:04.093
77 ERROR No InprocServer32 registered for package [Global Search Package]
%windir%\system32\mscoree.dll {18333854-D2FF-44A3-98D8-40501B914D7D} 8007007e VisualStudio 2015/05/26 23:34:04.969
79 ERROR No InprocServer32 registered for package [Global Search Package]
%windir%\system32\mscoree.dll {18333854-D2FF-44A3-98D8-40501B914D7D} 8007007e VisualStudio 2015/05/26 23:34:11.362

Visual Studio crashes when typing in editor

I have been using VS2010 for a few weeks but for the past few days it has been totally unusable. When I type anything into the editor Visual Studio throws an exception, then I get lots of intellisence errors (the code is fine, I can compile it if I run before trying to use the editor) - here is the log message:
<entry>
<record>241</record>
<time>2011/01/25 08:30:34.109</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidCastException: Unable to cast COM object of type &apos;System.__ComObject&apos; to interface type &apos;Microsoft.VisualStudio.TextManager.Interop.IVsTextReplaceEvents&apos;. This operation failed because the QueryInterface call on the COM component for the interface with IID &apos;{CF9928D9-65AE-4319-A446-94ED5C45ECDE}&apos; failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, Boolean& pfNeedsRelease)
at Microsoft.VisualStudio.TextManager.Interop.IVsTextReplaceEvents.OnReplace(ChangeInput[] pCI)
at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.OnTextBufferChangedHighPriority(Object sender, TextContentChangedEventArgs e)
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)</description>
</entry>
<entry>
<record>242</record>
<time>2011/01/25 08:30:34.125</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidCastException: Unable to cast COM object of type &apos;System.__ComObject&apos; to interface type &apos;Microsoft.VisualStudio.Editor.Implementation.IVsTextStreamEvents_Private&apos;. This operation failed because the QueryInterface call on the COM component for the interface with IID &apos;{96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52}&apos; failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, Boolean& pfNeedsRelease)
at Microsoft.VisualStudio.Editor.Implementation.IVsTextStreamEvents_Private.OnChangeStreamText(Int32 iPos, Int32 iOldLen, Int32 iNewLen, Int32 fLast)
at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.OnTextBufferChanged(Object sender, TextContentChangedEventArgs e)
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)</description>
</entry>
This seems like it might be due to some info missing from the registry on your computer. If you go to the MS Connect website you'll find a discussion about this issue and what seems to be a solution as well.
Solution (copied from that page):
Using regedit look at the following key:
On 32-Bit Windows: [HKEY_CLASSES_ROOT\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32]
On 64-Bit Windows: [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32]
The "(Default)" value should be one of the following:
On 32-Bit Windows: "C:\Program Files\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll"
On 64-Bit Windows: "C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll"
Looks like a problem with an extension or add in. Disable them all then re-enable one by one and see if one of them is acting up..

Resources