Why do I get this?
Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Bevelstone.EditVoicepack.InstallerApi.InternalUseOnly.AppDomainEntryPoint.IsProcessElevationRequired(String processUpdaterPath, String flightSimulatorPath, Boolean updateAirlinesCfg) in D:\Documents\Bevelstone\Flight Simulator\EditVoicepack\InstallerApi\InternalUseOnly.cs:line 71
at Bevelstone.EditVoicepack.InstallerApi.InternalUseOnly.AppDomainEntryPoint.IsProcessElevationRequired(String processUpdaterPath, String flightSimulatorPath, Boolean updateAirlinesCfg)
at Bevelstone.EditVoicepack.InstallerApi.VoicepackUpdater.GetIsProcessElevationRequired(Boolean updateAirlinesCfg) in D:\Documents\Bevelstone\Flight Simulator\EditVoicepack\InstallerApi\VoicepackUpdater.cs:line 149
at Bevelstone.EditVoicepack.Client.MainForm.FileSubmenuOpened(Object sender, RoutedEventArgs e) in D:\Documents\Bevelstone\Flight Simulator\EditVoicepack\Client\MainForm.xaml.cs:line 660
Could not load file or assembly ‘Bevelstone.EditVoicepack.DomainModel, Version=5.5.9.0, Culture=neutral, PublicKeyToken=1fde49c36acdfc5b’ or one of its dependencies. The system cannot find the file specified.
at Bevelstone.EditVoicepack.UpdateProcess.ApiEntryPoint.IsProcessElevationRequired(String flightSimulatorPath, Boolean updateAirlinesCfg)
Unfortunately there is an error when reverting from the XL version to the old free version. I’ll look into improving it in the future, but working on installation issues is always extremely time consuming, so I can’t say when I get to it – it is always tempting to use that time to add features instead.
To fix it manually:
- Open a Windows Explorer window
- Copy paste the following into the address bar and hit enter:
%ProgramData%\EditVoicepackX - Find the folder named “Updater” and delete it.
EditVoicepack X should now run without problems.