-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
Description
I'm thankful that the plugin was made available for ARM 😃, but the installation seems to have an issue. After installing the plugin and starting Visual Studio the plugin crashes in both VS 2022 and VS 2026. Both on Windows 11.
On VS 2022:
CreateInstance failed for package [WakaTimePackage]Source: 'mscorlib' Description: Could not load file or assembly 'file:///c:\users\[redacted]\appdata\local\microsoft\visualstudio\17.0_4cc9b491\extensions\3kbrpo3u.5jn\WakaTime.Dev17.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.
System.BadImageFormatException: Could not load file or assembly 'file:///c:\users\[redacted]\appdata\local\microsoft\visualstudio\17.0_4cc9b491\extensions\3kbrpo3u.5jn\WakaTime.Dev17.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'file:///c:\users\[redacted]\appdata\local\microsoft\visualstudio\17.0_4cc9b491\extensions\3kbrpo3u.5jn\WakaTime.Dev17.dll'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)
at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
On VS 2026:
CreateInstance failed for package [WakaTimePackage]Source: 'mscorlib' Description: Could not load file or assembly 'file:///c:\users\[redacted]\appdata\local\microsoft\visualstudio\18.0_773130de\extensions\1xqfxovn.cn5\WakaTime.Dev17.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.
System.BadImageFormatException: Could not load file or assembly 'file:///c:\users\[redacted]\appdata\local\microsoft\visualstudio\18.0_773130de\extensions\1xqfxovn.cn5\WakaTime.Dev17.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'file:///c:\users\[redacted]\appdata\local\microsoft\visualstudio\18.0_773130de\extensions\1xqfxovn.cn5\WakaTime.Dev17.dll'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)
at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Let me know if I can assist in further debugging this matter.
Reactions are currently unavailable