SonarSource / sonarlint-visualstudio

SonarLint extension for VisualStudio
https://redirect.sonarsource.com/doc/sonar-visualstudio.html
GNU Lesser General Public License v3.0
468 stars 76 forks source link

The 'SonalLintDaemonPackage' package did not load correctly. VS 2017 #243

Closed olsh closed 7 years ago

olsh commented 7 years ago

Description

I get the error when open any solution with Sonal Lint for Visual Studio 2017 installed. In the ActivityLog I see the following exception:

SetSite failed for package [SonarLintDaemonPackage]Source: 'PresentationCore' Description: The calling thread must be STA, because many UI components require this. System.InvalidOperationException: The calling thread must be STA, because many UI components require this. at System.Windows.Input.InputManager..ctor() at System.Windows.Input.InputManager.GetCurrentInputManagerImpl() at System.Windows.Input.KeyboardNavigation..ctor() at System.Windows.FrameworkElement.FrameworkServices..ctor() at System.Windows.FrameworkElement.EnsureFrameworkServices() at System.Windows.FrameworkElement..ctor() at System.Windows.Controls.Control..ctor() at System.Windows.Window..ctor() at SonarLint.VisualStudio.Integration.Vsix.SonarLintDaemonPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress) at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass16_0.<b__1>d.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()

Repro steps

  1. Install Sonal Lint for Visual Studio 2017
  2. Restart Visual Studio
  3. Open any solution

Expected behavior

The extension works withour any errors.

Actual behavior

The extension works but the error appears.

Related information

JRRN commented 7 years ago

Me too:

<?xml version="1.0" encoding="utf-16"?> <?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?>

1 Information VisualStudio Microsoft Visual Studio 2017 version: 15.0.26430.16 2 Information VisualStudio Running in isolation mode. 3 Information Microsoft Visual Studio Appid Stub Application launch on system with DPI X/Y: 144/144 4 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {00CD9DDA-7350-457C-A240-71BD667FC4DE} 5 Information VisualStudio Begin package load [Task Scheduler Package] {00CD9DDA-7350-457C-A240-71BD667FC4DE} 6 Information Package Framework Initialized ServiceProvider.GlobalProvider from SetSite. 7 Information VisualStudio End package load [Task Scheduler Package] {00CD9DDA-7350-457C-A240-71BD667FC4DE} 8 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {DD7B74B5-C1F9-411A-B22E-5E711592BC6B} 9 Information VisualStudio Begin package load [Async Query Service Package] {DD7B74B5-C1F9-411A-B22E-5E711592BC6B} 10 Information VisualStudio End package load [Async Query Service Package] {DD7B74B5-C1F9-411A-B22E-5E711592BC6B} 703 Information VisualStudio End package load [RestoreManagerPackage] {2B52AC92-4551-426D-BD34-C6D7D9FDD1C5} 704 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {67411F3B-36B3-4DF0-84E8-5748F8A541AC} 705 Information VisualStudio Begin package load [BundlerMinifierPackage] {67411F3B-36B3-4DF0-84E8-5748F8A541AC} 706 Information VisualStudio End package load [BundlerMinifierPackage] {67411F3B-36B3-4DF0-84E8-5748F8A541AC} 707 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {6F63AB5A-5AB8-4A0D-9914-151911885966} 708 Information VisualStudio Begin package load [SonarLintDaemonPackage] {6F63AB5A-5AB8-4A0D-9914-151911885966} 709 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {05B0DCB8-5F74-4A94-AB2F-8B2354C977EF} 710 Information VisualStudio Begin package load [Visual Studio Solution Telemetry Package] {05B0DCB8-5F74-4A94-AB2F-8B2354C977EF} 711 Information VisualStudio End package load [Visual Studio Solution Telemetry Package] {05B0DCB8-5F74-4A94-AB2F-8B2354C977EF} 712 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {B4E787A4-A9FC-4579-945E-D71AFEC4DD90} 713 Information VisualStudio Begin package load [Tab Designer Launcher] {B4E787A4-A9FC-4579-945E-D71AFEC4DD90} 714 Information VisualStudio End package load [Tab Designer Launcher] {B4E787A4-A9FC-4579-945E-D71AFEC4DD90} 715 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {3EADAB3E-2035-4513-8C13-FBA84414A16C} 716 Information VisualStudio Begin package load [LiveUnitTestingPackage] {3EADAB3E-2035-4513-8C13-FBA84414A16C} 717 Information VisualStudio End package load [LiveUnitTestingPackage] {3EADAB3E-2035-4513-8C13-FBA84414A16C} 718 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {8E15F3DA-B303-4AF9-814A-1DC5C2583398} 719 Information VisualStudio Begin package load [ConnectedServicesPackage] {8E15F3DA-B303-4AF9-814A-1DC5C2583398} 720 Information VisualStudio End package load [ConnectedServicesPackage] {8E15F3DA-B303-4AF9-814A-1DC5C2583398} 721 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {AC2D3F3C-563E-4308-BC26-E00D49746A74} 722 Information VisualStudio Begin package load [Microsoft Visual Studio Designer Bootstrap Package] {AC2D3F3C-563E-4308-BC26-E00D49746A74} 723 Information VisualStudio End package load [Microsoft Visual Studio Designer Bootstrap Package] {AC2D3F3C-563E-4308-BC26-E00D49746A74} 724 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 725 Information VisualStudio Begin package load [Microsoft.Data.Entity.Design.BootstrapPackage.BootstrapPackage, Microsoft.Data.Entity.Design.BootstrapPackage, version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 726 Information VisualStudio End package load [Microsoft.Data.Entity.Design.BootstrapPackage.BootstrapPackage, Microsoft.Data.Entity.Design.BootstrapPackage, version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 727 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {BF95754F-93D3-42FF-BFE3-E05D23188B08} 728 Information VisualStudio Begin package load [ImageOptimizerPackage] {BF95754F-93D3-42FF-BFE3-E05D23188B08} 729 Information Package Framework Initialized ServiceProvider.GlobalProvider from SetSite. 730 Information VisualStudio End package load [ImageOptimizerPackage] {BF95754F-93D3-42FF-BFE3-E05D23188B08} 731 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {CF6A5C16-83B0-4D04-B702-195C35C6E887} 732 Information VisualStudio Begin package load [Microsoft.VisualStudio.PlatformUI.SolutionNavigatorPackage] {CF6A5C16-83B0-4D04-B702-195C35C6E887} 733 Information VisualStudio End package load [Microsoft.VisualStudio.PlatformUI.SolutionNavigatorPackage] {CF6A5C16-83B0-4D04-B702-195C35C6E887} 734 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {5F2E5E42-4192-4D79-A0D8-1D881E808829} 735 Information VisualStudio Begin package load [ProviderPackage] {5F2E5E42-4192-4D79-A0D8-1D881E808829} 736 Information VisualStudio End package load [ProviderPackage] {5F2E5E42-4192-4D79-A0D8-1D881E808829} 737 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {6AC6A637-874E-4829-9AA0-B0CF5C41C735} 738 Information VisualStudio Begin package load [GitCollaborationPackage] {6AC6A637-874E-4829-9AA0-B0CF5C41C735} 739 Information VisualStudio End package load [GitCollaborationPackage] {6AC6A637-874E-4829-9AA0-B0CF5C41C735} 740 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {480D29DF-2B3D-445F-B055-FE2C74913A83} 741 Information VisualStudio Begin package load [FileIndicatorPackage] {480D29DF-2B3D-445F-B055-FE2C74913A83} 742 Information VisualStudio End package load [FileIndicatorPackage] {480D29DF-2B3D-445F-B055-FE2C74913A83} 743 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {13C3BBB4-F18F-4111-9F54-A0FB010D9194} 744 Information VisualStudio Begin package load [CSharpPackage] {13C3BBB4-F18F-4111-9F54-A0FB010D9194} 745 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {6CF2E545-6109-4730-8883-CF43D7AEC3E1} 746 Information VisualStudio Begin package load [RoslynPackage] {6CF2E545-6109-4730-8883-CF43D7AEC3E1} 747 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {4A9B7E50-AA16-11D0-A8C5-00A0C921A4D2} 748 Information VisualStudio Begin package load [ErrorListPackage] {4A9B7E50-AA16-11D0-A8C5-00A0C921A4D2} 749 Information VisualStudio End package load [ErrorListPackage] {4A9B7E50-AA16-11D0-A8C5-00A0C921A4D2} 750 Information VisualStudio End package load [RoslynPackage] {6CF2E545-6109-4730-8883-CF43D7AEC3E1} 751 Information VisualStudio End package load [CSharpPackage] {13C3BBB4-F18F-4111-9F54-A0FB010D9194} 752 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {94FD8BFF-40F1-4EF2-8771-E6BFB05FCB18} 753 Information VisualStudio Begin package load [Microsoft.VisualStudio.ApplicationCapabilities.Publish.VisualStudio.PublishPackage, Microsoft.VisualStudio.ApplicationCapabilities.Publish] {94FD8BFF-40F1-4EF2-8771-E6BFB05FCB18} 754 Information VisualStudio End package load [Microsoft.VisualStudio.ApplicationCapabilities.Publish.VisualStudio.PublishPackage, Microsoft.VisualStudio.ApplicationCapabilities.Publish] {94FD8BFF-40F1-4EF2-8771-E6BFB05FCB18} 755 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {2F778E9A-26BC-4A11-B35B-68147178E806} 756 Information VisualStudio Begin package load [Microsoft.VisualStudio.Web.Azure.WebToolsAzurePackage, Microsoft.VisualStudio.Web.Azure] {2F778E9A-26BC-4A11-B35B-68147178E806} 757 Information VisualStudio End package load [Microsoft.VisualStudio.Web.Azure.WebToolsAzurePackage, Microsoft.VisualStudio.Web.Azure] {2F778E9A-26BC-4A11-B35B-68147178E806} 758 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {B483C4E7-43A6-4F7B-A9A1-79E2C5D12148} 759 Information VisualStudio Begin package load [TaskRunnerExplorerVsPackage] {B483C4E7-43A6-4F7B-A9A1-79E2C5D12148} 760 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {CB03D63D-47BE-437D-B26B-1AD8AA7FF394} 761 Information VisualStudio Begin package load [PackageManagementPackage] {CB03D63D-47BE-437D-B26B-1AD8AA7FF394} 762 Information VisualStudio End package load [PackageManagementPackage] {CB03D63D-47BE-437D-B26B-1AD8AA7FF394} 763 Information VisualStudio End package load [TaskRunnerExplorerVsPackage] {B483C4E7-43A6-4F7B-A9A1-79E2C5D12148} 764 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {3E97F487-2EE7-44AB-8E03-F40E94928AEB} 765 Information VisualStudio Begin package load [AuthenticationPackage] {3E97F487-2EE7-44AB-8E03-F40E94928AEB} 766 Information VisualStudio End package load [AuthenticationPackage] {3E97F487-2EE7-44AB-8E03-F40E94928AEB} 767 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {F97FC405-54EB-4873-9215-24B7CFA8A75D} 768 Information VisualStudio Begin package load [Microsoft.VisualStudio.Web.PasteJson.JsonPackage, Microsoft.VisualStudio.Web.PasteJson] {F97FC405-54EB-4873-9215-24B7CFA8A75D} 769 Information VisualStudio End package load [Microsoft.VisualStudio.Web.PasteJson.JsonPackage, Microsoft.VisualStudio.Web.PasteJson] {F97FC405-54EB-4873-9215-24B7CFA8A75D} 770 Information MruList Entering OnAddVerbInvoked 771 Information MruList Entering AddItem. Persistence data for item: C:\Users\JRRN\Documents\GitHub\.Net\IdentityServer\IdentityServer.sln 772 Information MruList Entering TryPromoteItem 773 Information MruList Entering PromoteItemAt and found the index of the item to be 0 774 Information CodeContainerTracing Entering CodeContainerStorageManager.AddOrUpdateAsync. CodeContainer path: C:\Users\JRRN\Documents\GitHub\.Net\IdentityServer\IdentityServer.sln 775 Information CodeContainerTracing Entering ObservableSettingsListBase.AddOrUpdateAsync. Item key: C:\Users\JRRN\Documents\GitHub\.Net\IdentityServer\IdentityServer.sln, Item value: Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer 776 Information CodeContainerTracing Entering ObservableSettingsListBase.AddToFrontAsync and updating the SettingsList 777 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {1AD387FC-B1E8-4023-91FE-F22260B661DB} 778 Information VisualStudio Begin package load [Microsoft.VisualStudio.Web.Publish.WebPublishPackage, Microsoft.VisualStudio.Web.Publish] {1AD387FC-B1E8-4023-91FE-F22260B661DB} 779 Information VisualStudio End package load [Microsoft.VisualStudio.Web.Publish.WebPublishPackage, Microsoft.VisualStudio.Web.Publish] {1AD387FC-B1E8-4023-91FE-F22260B661DB} 780 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {B3AB9E94-3DA2-4CFE-8837-B794B2968195} 781 Information VisualStudio Begin package load [DotNet Web Project System] {B3AB9E94-3DA2-4CFE-8837-B794B2968195} 782 Information VisualStudio End package load [DotNet Web Project System] {B3AB9E94-3DA2-4CFE-8837-B794B2968195} 783 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {FAA496BF-FB16-4671-B3D5-E4B388A18478} 784 Information VisualStudio Begin package load [ScaffoldingVsPackage] {FAA496BF-FB16-4671-B3D5-E4B388A18478} 785 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {1D76B2E0-F11B-11D2-AFC3-00105A9991EF} 786 Information VisualStudio Begin package load [Undo Package] {1D76B2E0-F11B-11D2-AFC3-00105A9991EF} 787 Information VisualStudio End package load [Undo Package] {1D76B2E0-F11B-11D2-AFC3-00105A9991EF} 788 Information VisualStudio End package load [ScaffoldingVsPackage] {FAA496BF-FB16-4671-B3D5-E4B388A18478} 789 Information CodeContainerTracing Entering MruItemsStoreServiceDecorator.AddProjectIfNecessaryAsync. projectItemData: %UserProfile%\Documents\GitHub\.Net\IdentityServer\IdentityServer.sln|{00000000-0000-0000-0000-000000000000}|False|IdentityServer||||{00000000-0000-0000-0000-000000000000} 790 Information CodeContainerTracing Entering CodeContainerStorageManager.AddOrUpdateAsync. CodeContainer path: C:\Users\JRRN\Documents\GitHub\.Net\IdentityServer\IdentityServer.sln 791 Information CodeContainerTracing Entering ObservableSettingsListBase.AddOrUpdateAsync. Item key: C:\Users\JRRN\Documents\GitHub\.Net\IdentityServer\IdentityServer.sln, Item value: Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer 792 Information CodeContainerTracing Entering ObservableSettingsListBase.AddToFrontAsync and updating the SettingsList 793 Information VisualStudio Entering function CVsPackageInfo::HrInstantiatePackage {E9E4D55B-0FE1-4986-AEA0-BC3E209003D9} 794 Information VisualStudio Begin package load [FileIconPackage] {E9E4D55B-0FE1-4986-AEA0-BC3E209003D9} 795 Information VisualStudio End package load [FileIconPackage] {E9E4D55B-0FE1-4986-AEA0-BC3E209003D9} 796 Information VisualStudio Running in User Groups: Users 797 Information VisualStudio Available Drive Space: C:\ drive has 42403790848 bytes; F:\ drive has 39869259776 bytes; G:\ drive has 0 bytes 798 Information VisualStudio Internet Explorer Version: 11.0.14393.1480 799 Information VisualStudio .NET Framework Version: 10.0.14393.0 800 Information VisualStudio MSXML Version: 6.30.14393.1378 801 Error VisualStudio SetSite failed for package [SonarLintDaemonPackage]Source: 'PresentationCore' Description: El subproceso de llamada debe ser STA, ya que muchos componentes de la interfaz de usuario lo requieren. System.InvalidOperationException: El subproceso de llamada debe ser STA, ya que muchos componentes de la interfaz de usuario lo requieren. en System.Windows.Input.InputManager..ctor() en System.Windows.Input.InputManager.GetCurrentInputManagerImpl() en System.Windows.Input.KeyboardNavigation..ctor() en System.Windows.FrameworkElement.FrameworkServices..ctor() en System.Windows.FrameworkElement.EnsureFrameworkServices() en System.Windows.FrameworkElement..ctor() en System.Windows.Controls.Control..ctor() en System.Windows.Window..ctor() en SonarLint.VisualStudio.Integration.Vsix.SonarLintDaemonPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress) en Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass16_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 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e) en Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck) en Microsoft.VisualStudio.Services.VsTask.GetResult() {6F63AB5A-5AB8-4A0D-9914-151911885966}
80131509
802 Error VisualStudio End package load [SonarLintDaemonPackage] {6F63AB5A-5AB8-4A0D-9914-151911885966}
80131509
valhristov commented 7 years ago

I tried to reproduce the problem on a Win 10 VM with freshly installed Visual Studio 2017 with all updates (enabled ASP.NET Core development) and latest version of SonarLint, but to no avail. I tried with both simple console application with a JavaScript file and with IdentityServer4, but I did not experience any crashes and the JavaScript support was correctly adding errors from the code I wrote.

What am I missing?

HeinzKessler commented 7 years ago

I get the same message with a c++ console project and with a .Net Winforms project. I have VS2017 Version 15.2 (26430.6) I also have a whole bunch of other extensions installed.

duncancoppedge commented 7 years ago

Same error with asp.net mvc project.

Fired up a new asp.net console project and it blew up. ConsoleApp1.zip

Microsoft Visual Studio Enterprise 2017 Version 15.2 (26430.16) Release VisualStudio.15.Release/15.2.0+26430.16 Microsoft .NET Framework Version 4.6.01586

Installed Version: Enterprise

Architecture Diagrams and Analysis Tools 00369-60000-00001-AA564 Microsoft Architecture Diagrams and Analysis Tools

Visual Basic 2017 00369-60000-00001-AA564 Microsoft Visual Basic 2017

Visual C# 2017 00369-60000-00001-AA564 Microsoft Visual C# 2017

Add New File 3.5 The fastest and easiest way to add new files to any project - including files that start with a dot

ASP.NET and Web Tools 2017 15.0.30503.0 ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services 1.0 Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2017 5.2.50303.0 For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0 15.0.30209.0 Azure App Service Tools v3.0.0

Bundler & Minifier 2.4.340 Adds support for bundling and minifying JavaScript, CSS and HTML files in any project.

Common Azure Tools 1.9 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

CSS Tools 1.0.14 Provides additional features to the CSS editor in Visual Studio.

Extensibility Tools 1.10.188 Contains numerous tools and helpers that makes it easier than ever to build Visual Studio extensions.

File Icons 2.7 Adds icons for files that are not recognized by Solution Explorer

File Nesting 2.6.67 Automatically nest files based on file name and enables developers to nest and unnest any file manually

GitHub.VisualStudio 2.2.0.11 A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

HTML Tools 1.0.3 Productivity tools for the HTML editor

Image Optimizer 3.6.103 Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. Can do both lossy and lossless optimization.

Image Sprites 1.4.47 Boost your website's performance by creating image sprites to reduce the amount of HTTP requests needed.

JavaScript Language Service 2.0 JavaScript Language Service

JavaScript Transpiler 0.9.24 The simplest way to transpile JS and JSX to EcmaScript 5 without any complicated node.js tools in your project. It uses the TypeScript compiler behind the scenes.

JustDecompilePackage2017 Extension 1.0 JustDecompilePackage2017 Visual Studio Extension Detailed Info

KofePackagePackage Extension 1.0 KofePackagePackage Visual Studio Extension Detailed Info

Markdown Editor 1.11.214 A full featured Markdown editor with live preview and syntax highlighting. Supports GitHub flavored Markdown.

Microsoft Azure Tools 2.9 Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1

Microsoft MI-Based Debugger 1.0 Provides support for connecting Visual Studio to MI compatible debuggers

NuGet Package Manager 4.2.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Open Command Line 2.1.179 Opens a command line at the root of the project. Support for all consoles such as CMD, PowerShell, Bash etc. Provides syntax highlighting, Intellisense and execution of .cmd and .bat files.

Package Installer 2.0.101 Makes it easier, faster and more convenient than ever to install Bower, npm, Yarn, JSPM, TSD, Typings and NuGet packages to any project

Package Security Alerts 1.0.17 Identifies npm and Bower packages that contains known security vulnerabilities to ensure your project is always using the most secure package versions.

Project File Tools 1.0.1 Provides Intellisense and other tooling for XML based project files such as .csproj and .vbproj files.

Refactoring Essentials 1.0 Refactoring Essentials Extension Details

SonarLint for Visual Studio 3.4.0.1732 SonarLint is an extension to your favorite IDE that provides on-the-fly feedback to developers on new bugs and quality issues injected into their code.

SQL Server Data Tools 15.1.61702.140 Microsoft SQL Server Data Tools

Syntax Highlighting Pack 2.7.125 Adds syntax highlighting and snippet support for a wide variety of programming languages such as Clojure, Go, Jade, Lua, Swift, Ruby and many more...

TypeScript 2.2.2.0 TypeScript tools for Visual Studio

Web Accessibility Checker 1.5.56 The easiest way to perform accessibility checks on any ASP.NET web application. Fully customizable and support all the major international accessibility standards.

Web Compiler 1.11.326 Compiler for LESS, Sass and CoffeeScript files

Specific part of the activity log follows, and also copied in full activity log below.

  <entry>
    <record>781</record>
    <time>2017/08/07 17:30:22.635</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [SonarLintDaemonPackage]Source: &apos;PresentationCore&apos; Description: The calling thread must be STA, because many UI components require this.&#x000D;&#x000A;System.InvalidOperationException: The calling thread must be STA, because many UI components require this.&#x000D;&#x000A;   at System.Windows.Input.InputManager..ctor()&#x000D;&#x000A;   at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()&#x000D;&#x000A;   at System.Windows.Input.KeyboardNavigation..ctor()&#x000D;&#x000A;   at System.Windows.FrameworkElement.FrameworkServices..ctor()&#x000D;&#x000A;   at System.Windows.FrameworkElement.EnsureFrameworkServices()&#x000D;&#x000A;   at System.Windows.FrameworkElement..ctor()&#x000D;&#x000A;   at System.Windows.Controls.Control..ctor()&#x000D;&#x000A;   at System.Windows.Window..ctor()&#x000D;&#x000A;   at SonarLint.VisualStudio.Integration.Vsix.SonarLintDaemonPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass16_0.&lt;&lt;Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize&gt;b__1&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.GetResult()</description>
    <guid>{6F63AB5A-5AB8-4A0D-9914-151911885966}</guid>
    <hr>80131509</hr>
    <errorinfo></errorinfo>
  </entry>
  <entry>
    <record>782</record>
    <time>2017/08/07 17:30:22.641</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Searching folder for extension.vsixmanifest files...</description>
    <path>C:\Program Files (x86)\Common Files\Microsoft\ExtensionManager\Extensions</path>
  </entry>
  <entry>
    <record>783</record>
    <time>2017/08/07 17:30:22.642</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>End package load [SonarLintDaemonPackage]</description>
    <guid>{6F63AB5A-5AB8-4A0D-9914-151911885966}</guid>
    <hr>80131509</hr>
    <errorinfo></errorinfo>
  </entry>

Full Activity Log:

<?xml version="1.0" encoding="utf-16"?>
<?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?>
<activity>
  <entry>
    <record>1</record>
    <time>2017/08/07 17:30:08.749</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Microsoft Visual Studio 2017 version: 15.0.26430.16</description>
  </entry>
  <entry>
    <record>2</record>
    <time>2017/08/07 17:30:08.750</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Running in isolation mode.</description>
  </entry>
  <entry>
    <record>3</record>
    <time>2017/08/07 17:30:08.755</time>
    <type>Information</type>
    <source>Microsoft Visual Studio Appid Stub</source>
    <description>Application launch on system with DPI X/Y: 96/96</description>
  </entry>
  <entry>
    <record>4</record>
    <time>2017/08/07 17:30:08.800</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
    <guid>{00CD9DDA-7350-457C-A240-71BD667FC4DE}</guid>
  </entry>
  <entry>
    <record>5</record>
    <time>2017/08/07 17:30:08.800</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [Task Scheduler Package]</description>
    <guid>{00CD9DDA-7350-457C-A240-71BD667FC4DE}</guid>
  </entry>
  <entry>
    <record>6</record>
    <time>2017/08/07 17:30:08.920</time>
    <type>Information</type>
    <source>Package Framework</source>
    <description>Initialized ServiceProvider.GlobalProvider from SetSite.</description>
  </entry>
  <entry>
    <record>7</record>
    <time>2017/08/07 17:30:08.925</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Task Scheduler Package]</description>
    <guid>{00CD9DDA-7350-457C-A240-71BD667FC4DE}</guid>
  </entry>
  <entry>
    <record>8</record>
    <time>2017/08/07 17:30:08.926</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
    <guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
  </entry>
  <entry>
    <record>9</record>
    <time>2017/08/07 17:30:08.927</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [Async Query Service Package]</description>
    <guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
  </entry>
  <entry>
    <record>10</record>
    <time>2017/08/07 17:30:08.927</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Async Query Service Package]</description>
    <guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
  </entry>
  <entry>
    <record>698</record>
    <time>2017/08/07 17:30:22.529</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\MANAGEDLANGUAGES\VBCSHARP\EXPRESSIONEVALUATORS\</path>
  </entry>
  <entry>
    <record>699</record>
    <time>2017/08/07 17:30:22.533</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\MANAGEDLANGUAGES\VBCSHARP\INTERACTIVECOMPONENTS\</path>
  </entry>
  <entry>
    <record>700</record>
    <time>2017/08/07 17:30:22.533</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\MANAGEDLANGUAGES\VBCSHARP\INTERACTIVECOMPONENTS\</path>
  </entry>
  <entry>
    <record>701</record>
    <time>2017/08/07 17:30:22.534</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\MICROSOFT\MODELING\15.0\</path>
  </entry>
  <entry>
    <record>702</record>
    <time>2017/08/07 17:30:22.535</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\MICROSOFT\MODELING\15.0\</path>
  </entry>
  <entry>
    <record>703</record>
    <time>2017/08/07 17:30:22.535</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\MANAGEDLANGUAGES\VBCSHARP\LANGUAGESERVICES\</path>
  </entry>
  <entry>
    <record>704</record>
    <time>2017/08/07 17:30:22.535</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\MANAGEDLANGUAGES\VBCSHARP\LANGUAGESERVICES\</path>
  </entry>
  <entry>
    <record>705</record>
    <time>2017/08/07 17:30:22.535</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\MICROSOFT\DOCKER\</path>
  </entry>
  <entry>
    <record>706</record>
    <time>2017/08/07 17:30:22.535</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\MICROSOFT\DOCKER\</path>
  </entry>
  <entry>
    <record>707</record>
    <time>2017/08/07 17:30:22.535</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\FJUVHW2U.NV0\</path>
  </entry>
  <entry>
    <record>708</record>
    <time>2017/08/07 17:30:22.535</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\FJUVHW2U.NV0\</path>
  </entry>
  <entry>
    <record>709</record>
    <time>2017/08/07 17:30:22.536</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\DPHZVRZQ.GNR\</path>
  </entry>
  <entry>
    <record>710</record>
    <time>2017/08/07 17:30:22.536</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\DPHZVRZQ.GNR\</path>
  </entry>
  <entry>
    <record>711</record>
    <time>2017/08/07 17:30:22.536</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\3DDKXAKS.SPI\</path>
  </entry>
  <entry>
    <record>712</record>
    <time>2017/08/07 17:30:22.536</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\KCHKY4Z3.UHR\</path>
  </entry>
  <entry>
    <record>713</record>
    <time>2017/08/07 17:30:22.537</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\X2AEAOVK.VVI\</path>
  </entry>
  <entry>
    <record>714</record>
    <time>2017/08/07 17:30:22.537</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\S3EOPNAA.X32\</path>
  </entry>
  <entry>
    <record>715</record>
    <time>2017/08/07 17:30:22.537</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\ZKXMJMSY.01H\</path>
  </entry>
  <entry>
    <record>716</record>
    <time>2017/08/07 17:30:22.540</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\WKDHUOHH.U5I\</path>
  </entry>
  <entry>
    <record>717</record>
    <time>2017/08/07 17:30:22.540</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\HWWSLKCZ.EBK\</path>
  </entry>
  <entry>
    <record>718</record>
    <time>2017/08/07 17:30:22.540</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\GEKFDKUU.TFF\</path>
  </entry>
  <entry>
    <record>719</record>
    <time>2017/08/07 17:30:22.540</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\ZOA30V02.MVK\</path>
  </entry>
  <entry>
    <record>720</record>
    <time>2017/08/07 17:30:22.540</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\G3LYTN2C.QYQ\</path>
  </entry>
  <entry>
    <record>721</record>
    <time>2017/08/07 17:30:22.541</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\YTCBBAYC.LDZ\</path>
  </entry>
  <entry>
    <record>722</record>
    <time>2017/08/07 17:30:22.547</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\CWITBW3W.NCF\</path>
  </entry>
  <entry>
    <record>723</record>
    <time>2017/08/07 17:30:22.547</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\PDD2WU5S.XMW\</path>
  </entry>
  <entry>
    <record>724</record>
    <time>2017/08/07 17:30:22.548</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\320OZFFR.B5I\</path>
  </entry>
  <entry>
    <record>725</record>
    <time>2017/08/07 17:30:22.548</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\0IC2N5G5.O21\</path>
  </entry>
  <entry>
    <record>726</record>
    <time>2017/08/07 17:30:22.548</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\SBAVVUC1.GJX\</path>
  </entry>
  <entry>
    <record>727</record>
    <time>2017/08/07 17:30:22.548</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\T0D3AZKV.ZD1\</path>
  </entry>
  <entry>
    <record>728</record>
    <time>2017/08/07 17:30:22.549</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\Z5JUNXE0.KWI\</path>
  </entry>
  <entry>
    <record>729</record>
    <time>2017/08/07 17:30:22.549</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\QLWS5BPC.PUT\</path>
  </entry>
  <entry>
    <record>730</record>
    <time>2017/08/07 17:30:22.549</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\IMMW1FBQ.Y0Y\</path>
  </entry>
  <entry>
    <record>731</record>
    <time>2017/08/07 17:30:22.549</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\MANAGEDLANGUAGES\VBCSHARP\LANGUAGESERVICESNEXT\</path>
  </entry>
  <entry>
    <record>732</record>
    <time>2017/08/07 17:30:22.549</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\MANAGEDLANGUAGES\VBCSHARP\LANGUAGESERVICESNEXT\</path>
  </entry>
  <entry>
    <record>733</record>
    <time>2017/08/07 17:30:22.550</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\CFSZDB4U.O3Y\</path>
  </entry>
  <entry>
    <record>734</record>
    <time>2017/08/07 17:30:22.552</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\ZENMY22A.DRA\</path>
  </entry>
  <entry>
    <record>735</record>
    <time>2017/08/07 17:30:22.553</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\3X00ZT0D.PRI\</path>
  </entry>
  <entry>
    <record>736</record>
    <time>2017/08/07 17:30:22.553</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\0GON2BWX.1WL\</path>
  </entry>
  <entry>
    <record>737</record>
    <time>2017/08/07 17:30:22.553</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\OCKE3IVC.G25\</path>
  </entry>
  <entry>
    <record>738</record>
    <time>2017/08/07 17:30:22.553</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\1W0IFJWD.ZXT\</path>
  </entry>
  <entry>
    <record>739</record>
    <time>2017/08/07 17:30:22.554</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\ZCJU2TUU.XJC\</path>
  </entry>
  <entry>
    <record>740</record>
    <time>2017/08/07 17:30:22.554</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\GDTKAUPM.VOY\</path>
  </entry>
  <entry>
    <record>741</record>
    <time>2017/08/07 17:30:22.557</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\TELERIK\JUSTDECOMPILE\</path>
  </entry>
  <entry>
    <record>742</record>
    <time>2017/08/07 17:30:22.557</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\TELERIK\JUSTDECOMPILE\</path>
  </entry>
  <entry>
    <record>743</record>
    <time>2017/08/07 17:30:22.558</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\0VV0KIA1.I0J\</path>
  </entry>
  <entry>
    <record>744</record>
    <time>2017/08/07 17:30:22.558</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\0VV0KIA1.I0J\</path>
  </entry>
  <entry>
    <record>745</record>
    <time>2017/08/07 17:30:22.558</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\EIPT3VNS.KGS\</path>
  </entry>
  <entry>
    <record>746</record>
    <time>2017/08/07 17:30:22.558</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\LSLMNEID.QDK\</path>
  </entry>
  <entry>
    <record>747</record>
    <time>2017/08/07 17:30:22.558</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\SUH21DUZ.QT0\</path>
  </entry>
  <entry>
    <record>748</record>
    <time>2017/08/07 17:30:22.558</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\TUSCNIVM.WQR\</path>
  </entry>
  <entry>
    <record>749</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\Z5FJHUIB.IG4\</path>
  </entry>
  <entry>
    <record>750</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\X2AEAOVK.VVI\</path>
  </entry>
  <entry>
    <record>751</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\KCHKY4Z3.UHR\</path>
  </entry>
  <entry>
    <record>752</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\ZKXMJMSY.01H\</path>
  </entry>
  <entry>
    <record>753</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\WKDHUOHH.U5I\</path>
  </entry>
  <entry>
    <record>754</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\GEKFDKUU.TFF\</path>
  </entry>
  <entry>
    <record>755</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\G3LYTN2C.QYQ\</path>
  </entry>
  <entry>
    <record>756</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\YTCBBAYC.LDZ\</path>
  </entry>
  <entry>
    <record>757</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\CWITBW3W.NCF\</path>
  </entry>
  <entry>
    <record>758</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\PDD2WU5S.XMW\</path>
  </entry>
  <entry>
    <record>759</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\0IC2N5G5.O21\</path>
  </entry>
  <entry>
    <record>760</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\Z5JUNXE0.KWI\</path>
  </entry>
  <entry>
    <record>761</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\QLWS5BPC.PUT\</path>
  </entry>
  <entry>
    <record>762</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\IMMW1FBQ.Y0Y\</path>
  </entry>
  <entry>
    <record>763</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\ZENMY22A.DRA\</path>
  </entry>
  <entry>
    <record>764</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\OCKE3IVC.G25\</path>
  </entry>
  <entry>
    <record>765</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\ZOA30V02.MVK\</path>
  </entry>
  <entry>
    <record>766</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\HWWSLKCZ.EBK\</path>
  </entry>
  <entry>
    <record>767</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\3X00ZT0D.PRI\</path>
  </entry>
  <entry>
    <record>768</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\T0D3AZKV.ZD1\</path>
  </entry>
  <entry>
    <record>769</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\SBAVVUC1.GJX\</path>
  </entry>
  <entry>
    <record>770</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\3DDKXAKS.SPI\</path>
  </entry>
  <entry>
    <record>771</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\CFSZDB4U.O3Y\</path>
  </entry>
  <entry>
    <record>772</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\320OZFFR.B5I\</path>
  </entry>
  <entry>
    <record>773</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\GDTKAUPM.VOY\</path>
  </entry>
  <entry>
    <record>774</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\S3EOPNAA.X32\</path>
  </entry>
  <entry>
    <record>775</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\EIPT3VNS.KGS\</path>
  </entry>
  <entry>
    <record>776</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\TUSCNIVM.WQR\</path>
  </entry>
  <entry>
    <record>777</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\SUH21DUZ.QT0\</path>
  </entry>
  <entry>
    <record>778</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\LSLMNEID.QDK\</path>
  </entry>
  <entry>
    <record>779</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\0GON2BWX.1WL\</path>
  </entry>
  <entry>
    <record>780</record>
    <time>2017/08/07 17:30:22.559</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\users\username\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_9405D260\EXTENSIONS\Z5FJHUIB.IG4\</path>
  </entry>
  <entry>
    <record>781</record>
    <time>2017/08/07 17:30:22.635</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [SonarLintDaemonPackage]Source: &apos;PresentationCore&apos; Description: The calling thread must be STA, because many UI components require this.&#x000D;&#x000A;System.InvalidOperationException: The calling thread must be STA, because many UI components require this.&#x000D;&#x000A;   at System.Windows.Input.InputManager..ctor()&#x000D;&#x000A;   at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()&#x000D;&#x000A;   at System.Windows.Input.KeyboardNavigation..ctor()&#x000D;&#x000A;   at System.Windows.FrameworkElement.FrameworkServices..ctor()&#x000D;&#x000A;   at System.Windows.FrameworkElement.EnsureFrameworkServices()&#x000D;&#x000A;   at System.Windows.FrameworkElement..ctor()&#x000D;&#x000A;   at System.Windows.Controls.Control..ctor()&#x000D;&#x000A;   at System.Windows.Window..ctor()&#x000D;&#x000A;   at SonarLint.VisualStudio.Integration.Vsix.SonarLintDaemonPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass16_0.&lt;&lt;Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize&gt;b__1&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.GetResult()</description>
    <guid>{6F63AB5A-5AB8-4A0D-9914-151911885966}</guid>
    <hr>80131509</hr>
    <errorinfo></errorinfo>
  </entry>
  <entry>
    <record>782</record>
    <time>2017/08/07 17:30:22.641</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Searching folder for extension.vsixmanifest files...</description>
    <path>C:\Program Files (x86)\Common Files\Microsoft\ExtensionManager\Extensions</path>
  </entry>
  <entry>
    <record>783</record>
    <time>2017/08/07 17:30:22.642</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>End package load [SonarLintDaemonPackage]</description>
    <guid>{6F63AB5A-5AB8-4A0D-9914-151911885966}</guid>
    <hr>80131509</hr>
    <errorinfo></errorinfo>
  </entry>
  <entry>
    <record>784</record>
    <time>2017/08/07 17:30:22.643</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\DESKTOP SDK\</path>
  </entry>
  <entry>
    <record>785</record>
    <time>2017/08/07 17:30:22.643</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\DESKTOP SDK\</path>
  </entry>
  <entry>
    <record>786</record>
    <time>2017/08/07 17:30:22.643</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\WINDOWS STORE SDK\</path>
  </entry>
  <entry>
    <record>787</record>
    <time>2017/08/07 17:30:22.643</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\WINDOWS STORE SDK\</path>
  </entry>
  <entry>
    <record>788</record>
    <time>2017/08/07 17:30:22.643</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK\</path>
  </entry>
  <entry>
    <record>789</record>
    <time>2017/08/07 17:30:22.643</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK\</path>
  </entry>
  <entry>
    <record>790</record>
    <time>2017/08/07 17:30:22.643</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Successfully loaded extension...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\WINDOWS STORE SDK\</path>
  </entry>
  <entry>
    <record>791</record>
    <time>2017/08/07 17:30:22.643</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Extension is enabled...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\WINDOWS STORE SDK\</path>
  </entry>
  <entry>
    <record>792</record>
    <time>2017/08/07 17:30:22.643</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>Searching folder for extension.vsixmanifest files...</description>
    <path>C:\Program Files (x86)\Microsoft SDKs</path>
  </entry>
  <entry>
    <record>793</record>
    <time>2017/08/07 17:30:22.646</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>IncompatibilityList - Did not look for incompatible extensions.Configuration or the user compatibility list file did not change</description>
  </entry>
  <entry>
    <record>794</record>
    <time>2017/08/07 17:30:22.646</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>LastCompatibilityListCheck - 131466005818975946</description>
  </entry>
  <entry>
    <record>795</record>
    <time>2017/08/07 17:30:22.646</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>NewConfigurationChangedTimestamp - 131466005393475828</description>
  </entry>
  <entry>
    <record>796</record>
    <time>2017/08/07 17:30:22.646</time>
    <type>Information</type>
    <source>Extension Manager</source>
    <description>UserCompatibilityListTimestamp - 131448710253412219</description>
  </entry>
  <entry>
    <record>797</record>
    <time>2017/08/07 17:30:22.649</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [ImageSpritePackage]</description>
    <guid>{0C4C1075-3865-436A-925A-7B97A641C9E0}</guid>
  </entry>
</activity>
kevinbosman commented 7 years ago

Hello,

Same issue here with loading a Console app. Same error logged as OP. Win10 Enterprise x64 (build 16232) VS2017 Enterprise v15.2 (26430.16) SonarLint for VS v3.4.0.1732

This worked on previous release of SonarLint

kevinbosman commented 7 years ago

I have confirmed the VS2017 bug I am seeing was introduced in the 3.4.0.1727 RC1 release. It is not present in v3.3.0.1663 Thanks

remcoros commented 7 years ago

Same here after updating to 3.4 (VS 2017)

938 ERROR SetSite failed for package [SonarLintDaemonPackage]Source: 'PresentationCore' Description: The calling thread must be STA, because many UI components require this. System.InvalidOperationException: The calling thread must be STA, because many UI components require this. at System.Windows.Input.InputManager..ctor() at System.Windows.Input.InputManager.GetCurrentInputManagerImpl() at System.Windows.Input.KeyboardNavigation..ctor() at System.Windows.FrameworkElement.FrameworkServices..ctor() at System.Windows.FrameworkElement.EnsureFrameworkServices() at System.Windows.FrameworkElement..ctor() at System.Windows.Controls.Control..ctor() at System.Windows.Window..ctor() at SonarLint.VisualStudio.Integration.Vsix.SonarLintDaemonPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress) at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass16_0.<b__1>d.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() {6F63AB5A-5AB8-4A0D-9914-151911885966} 80131509 VisualStudio 2017/08/11 12:01:24.887
939 ERROR End package load [SonarLintDaemonPackage] {6F63AB5A-5AB8-4A0D-9914-151911885966} 80131509 VisualStudio 2017/08/11 12:01:24.901
Thieum commented 7 years ago

I have the same message anytime I load a solution, regardless of the technology used in it (WinForms, WPF, ASP.NET MVC).

Using Visual Studio 2017 15.3.0 and SonarLint For Visual Studio 3.4.0.1732

  <entry>
    <record>2785</record>
    <time>2017/08/16 20:19:54.630</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [SonarLintDaemonPackage]Source: &apos;PresentationCore&apos; Description: The calling thread must be STA, because many UI components require this.&#x000D;&#x000A;System.InvalidOperationException: The calling thread must be STA, because many UI components require this.&#x000D;&#x000A;   at System.Windows.Input.InputManager..ctor()&#x000D;&#x000A;   at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()&#x000D;&#x000A;   at System.Windows.Input.KeyboardNavigation..ctor()&#x000D;&#x000A;   at System.Windows.FrameworkElement.FrameworkServices..ctor()&#x000D;&#x000A;   at System.Windows.FrameworkElement.EnsureFrameworkServices()&#x000D;&#x000A;   at System.Windows.FrameworkElement..ctor()&#x000D;&#x000A;   at System.Windows.Controls.Control..ctor()&#x000D;&#x000A;   at System.Windows.Window..ctor()&#x000D;&#x000A;   at SonarLint.VisualStudio.Integration.Vsix.SonarLintDaemonPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass16_0.&lt;&lt;Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize&gt;b__1&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.GetResult()</description>
    <guid>{6F63AB5A-5AB8-4A0D-9914-151911885966}</guid>
    <hr>80131509</hr>
    <errorinfo></errorinfo>
  </entry>
vadrianc commented 7 years ago

I'm experiencing the same issue under Microsoft Visual Studio Professional 2015 Version 14.0.25431.01 Update 3

  <entry>
    <record>508</record>
    <time>2017/08/17 11:40:36.693</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [SonarLintDaemonPackage]Source: &apos;PresentationCore&apos; Description: The calling thread must be STA, because many UI components require this.&#x000D;&#x000A;System.InvalidOperationException: The calling thread must be STA, because many UI components require this.&#x000D;&#x000A;   at System.Windows.Input.InputManager..ctor()&#x000D;&#x000A;   at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()&#x000D;&#x000A;   at System.Windows.Input.KeyboardNavigation..ctor()&#x000D;&#x000A;   at System.Windows.FrameworkElement.FrameworkServices..ctor()&#x000D;&#x000A;   at System.Windows.FrameworkElement.EnsureFrameworkServices()&#x000D;&#x000A;   at System.Windows.FrameworkElement..ctor()&#x000D;&#x000A;   at System.Windows.Controls.Control..ctor()&#x000D;&#x000A;   at System.Windows.Window..ctor()&#x000D;&#x000A;   at SonarLint.VisualStudio.Integration.Vsix.SonarLintDaemonPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass16_0.&lt;&lt;Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize&gt;b__1&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.GetResult()</description>
    <guid>{6F63AB5A-5AB8-4A0D-9914-151911885966}</guid>
    <hr>80131509</hr>
    <errorinfo></errorinfo>
  </entry>

sonarlint_package_load_problem

Evangelink commented 7 years ago

Guys, are you doing something special or are you just opening a solution? We have tried on a couple of distinct machines and we can't reproduce the issue. Was the support for JS activated on previous version before you did the update?

Also, are you still able to have some issues (SXXX) reported after the crash or does it totally prevent to use any feature from SonarLint?

vadrianc commented 7 years ago

I see this when opening VS and loading a solution. I don't have any JS in my solutions, so I'm not aware of any settings for JS activation. I can still see issues being reported by SonarLint after this error message is displayed (for C# code).

ghost commented 7 years ago

Additional behavior information that I experienced: Using Visual Studio 2017 15.3.0 and SonarLint For Visual Studio 3.4.0.1732

Crash showing up when opening any solution, but still seeing issues (SXXX) from SonarLint in the Error List pane. Uninstalled/Reinstalled several times.

  1. Read Evangelink's comment about JS activation. Tools->Options->SonarLint For Visual Studio and selected the Activate button to add JS/C/C++ support, error message no longer appeared.
  2. Deactivated and error message still no longer appeared.
  3. Uninstalled.
  4. Reinstalled. Upon opening a solution, was prompted with a SonarLint dialog asking if I wanted to download and activate JS support. I have never seen this dialog before this point before. Regardless of what option I choose (activate or not), I no longer experience the error message.

EDIT: I don't believe the uninstall/reinstall to be necessary, simply activating the additional languages.

duncancoppedge commented 7 years ago

Was still getting error on vs2017 15.3.0, but the SXXX issue reporting still worked.

Followed this step and no longer see the error on opening solutions. 1. Tools->Options->SonarLint For Visual Studio and selected the Activate button to add JS/C/C++ support, error message no longer appeared.

I didn't bother with the uninstall/reinstall/deactivate/etc.

FWIW I've never seen this dialog: "Upon opening a solution, was prompted with a SonarLint dialog asking if I wanted to download and activate JS support."

Thieum commented 7 years ago

Activating the extra languages, even when not using them, indeed clears the error. Might as well put the extra languages in the main product, if making them extra causes issue.

ghost commented 7 years ago

Although we could not reproduce this at our side, we have a strong suspicion what could be causing it, and implemented a change that will hopefully fix it. The RFF is planned for next Tuesday, and the release soon after. Please stay tuned.

kevinbosman commented 7 years ago

This problem appears to have been resolved in 3.5-RC1 v3.5.0.1795. Thank you! 👍

Evangelink commented 7 years ago

Awesome thanks for the feedback!

equiman commented 7 years ago

Steel happening... fresh installation vs 2017: 15.3.5 SonarLint for VS2017: 3.5.0.1803

Tools -> Options -> SonarLint for Visual Studio option say: an error occurred loading this property page.