Error in 16.8 integration with VS Community 2019 - Advanced Installer Community
LeisureTime
Posts: 17
Joined: Wed Feb 19, 2020 12:52 pm

Error in 16.8 integration with VS Community 2019

Since installing AI 16.8 I am getting an intermittent error as attached. I tried re-installing, and it fixed it once, but now it is back again.

Advice?
AdvInstErrInVS.PNG
AdvInstErrInVS.PNG (11.05 KiB) Viewed 6018 times
LeisureTime
Posts: 17
Joined: Wed Feb 19, 2020 12:52 pm

Re: Error in 16.8 integration with VS Community 2019

Here is the error in the ActivityLog.xml:

SetSite failed for package [AdvInstVSIntegrationPackage]Source: 'AdvInstExtensionVSIntegration.vcs16' Description: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=16.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=16.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Threading, Version=16.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'at Caphyon.AdvInstVSIntegration.AdvInstVSIntegrationPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass19_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__68.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)at Microsoft.VisualStudio.Services.VsTask.GetResult() 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].
LeisureTime
Posts: 17
Joined: Wed Feb 19, 2020 12:52 pm

Re: Error in 16.8 integration with VS Community 2019

I noticed that my AI version is 16.8 but the VS error references 16.4. So I went into VS Community 2019, Extensions menu, Manage Extensions, deleted Advanced Installer Extension, and then re-added it (version 16.8). I still get the same error.

ergh.
LeisureTime
Posts: 17
Joined: Wed Feb 19, 2020 12:52 pm

Re: Error in 16.8 integration with VS Community 2019

Anyone? Bueller? Bueller?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error in 16.8 integration with VS Community 2019

Hi,

We apologize for the delayed reply on this.

Could you please try this approach:

1. uninstall Advanced Installer extension for Visual Studio
2. update your Visual Studio version to the latest VS update
3. reinstall Advanced Installer extension for Visual Studio

and see if this helps you?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
LeisureTime
Posts: 17
Joined: Wed Feb 19, 2020 12:52 pm

Re: Error in 16.8 integration with VS Community 2019

That seems to have worked, at least on the first two startups of VS. Thanks!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error in 16.8 integration with VS Community 2019

You are always welcome.

I am glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”