Dotneteer / spectnetide

ZX Spectrum IDE with Visual Studio 2017 and 2019 integration
MIT License
206 stars 27 forks source link

Exception on latest VS2017 #76

Closed gusmanb closed 6 years ago

gusmanb commented 6 years ago

When I have the complement installed, each time I open VS it complains about cannot load SpectNetIde. This is all the info I could get:

SetSite failed for package [SpectNetPackage]Source: 'mscorlib' Description: No se pueden cargar uno o varios tipos requeridos. Recupere la propiedad LoaderExceptions para obtener más información. System.Reflection.ReflectionTypeLoadException: No se pueden cargar uno o varios tipos requeridos. Recupere la propiedad LoaderExceptions para obtener más información. en System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) en System.Reflection.RuntimeModule.GetTypes() en System.Reflection.Assembly.GetTypes() en Spect.Net.VsPackage.Vsx.VsxPackage.ScanTypes(Func2 condition, Action1 action) en C:\Users\dotne\Source\Repos\spectnetide\VsIntegration\Spect.Net.VsPackage\Vsx\VsxPackage.cs:línea 197 en Spect.Net.VsPackage.Vsx.VsxPackage.<InitializeAsync>d13.MoveNext() en C:\Users\dotne\Source\Repos\spectnetide\VsIntegration\Spect.Net.VsPackage\Vsx\VsxPackage.cs:línea 87 --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en Microsoft.VisualStudio.Shell.AsyncPackage.<>cDisplayClass17_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e) en Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck) en Microsoft.VisualStudio.Services.VsTask.GetResult()

{1B214806-BC31-49BD-BE5D-79AC4A189F3C}
Dotneteer commented 6 years ago

Thanks, @gusmanb. Do you have an opportunity to check that this issue exists on English VS 2017? Fortunately, your error report gives me some hint. I have not managed to reproduce the issue on an English VS 2017 yet, nonetheless, I try...

Dotneteer commented 6 years ago

@gusmanb, I did not manage to reproduce the error you reported :-( If you can help me with some extra information, I keep this issue open; otherwise, I will close it in a few days...

gusmanb commented 6 years ago

Hi. Sorry for the delay, I've been very busy this week. I can't install a new version of VS on this machine right now as it's my development one. But, next week I will receive a new HDD and I can try to install a completely clean Windows, a new VS, in english and spanish, and check if I can reproduce the problems on these.

If you need any other test under my current VS I will be very glad to perform it.

Cheers.

Dotneteer commented 6 years ago

Great 😊. Let me know, what you find! I suspect, the issue might be correlated to Spanish VS 2017, or something else on your machine. Nonetheless, it might be a bug is SpectNetIde, too. I definitely keep this issue open.

Dotneteer commented 6 years ago

@gusmanb, it seems that there is some issue with .NET/Windows and the Spanish language. See #77, which reports the same issue on Check Windows...

Dotneteer commented 6 years ago

@gusmanb, I have a few more questions to you to investigate the issue:

Dotneteer commented 6 years ago

Issue fixed in release 1.10.3