From time to time VS2019 popup null reference exception at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.AsyncCompletion.CompletionSource. Anything I can do about this?

Eric Garnier 1 Reputation point
2021-02-13T10:59:19.823+00:00

From time to time, I got a message from VS2019 about a null reference exception.
In the log, I found this:
<entry>
<record>1011</record>
<time>2021/02/13 10:34:25.506</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.AsyncCompletion.CompletionSource.<GetDescriptionAsync>d__27.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.Text.Utilities.GuardedOperations.<CallExtensionPointAsync>d__36`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
</entry>
<entry>

What should I do about this?

Thanks.
Eric Garnier

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,123 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 28,846 Reputation points Microsoft Vendor
    2021-02-15T08:06:36.44+00:00

    Hi @Eric Garnier ,

    Welcome to Microsoft Q&A!

    Which version of Visual Studio 2019 are you using? Could you tell me how you encountered this situation? What’s your project type?

    Please update your Visual Studio to the latest version. Then, open CMD and go to C:\Program Files (x86)\Microsoft Visual Studio\2019\version name\Common7\IDE folder, run the command: devenv /safemode to run your Visual Studio in safe mode and check if the exception disappears.

    Meanwhile, you can also try to repair your Visual Studio by running VS Installer > More > Repair.

    Sincerely,
    Anna

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments

  2. Eric Garnier 1 Reputation point
    2021-02-16T21:35:25.91+00:00

    I try to be up to date for VS Version.

    My projects are C# project (console and library).

    It seem to occur randomly. So I don't have a scenario. Should I find one, I will let known.

    Thanks for your answer @Anna Xiu-MSFT

    I will try the safe mode and let you known.

    Eric

    Microsoft Visual Studio Community 2019
    Version 16.8.5
    VisualStudio.16.Release/16.8.5+31005.135
    Microsoft .NET Framework
    Version 4.8.04084

    Installed Version: Community

    Visual C++ 2019 00435-60000-00000-AA191
    Microsoft Visual C++ 2019

    ASP.NET and Web Tools 2019 16.8.559.8768
    ASP.NET and Web Tools 2019

    ASP.NET Core Razor Language Services 16.1.0.2052803+84e121f1403378489b842e1797df2f3f5a49ac3c
    Provides languages services for ASP.NET Core Razor.

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

    Azure App Service Tools v3.0.0 16.8.559.8768
    Azure App Service Tools v3.0.0

    Azure Functions and Web Jobs Tools 16.8.559.8768
    Azure Functions and Web Jobs Tools

    C# Tools 3.8.0-5.20604.10+9ed4b774d20940880de8df1ca8b07508aa01c8cd
    C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

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

    Customize Visual Studio Window Title 4.0
    This lightweight extension allows changing the window title of Visual Studio to include a folder tree with a configurable min depth and max depth distance from the solution/project file, and the use of special tags to help with many other possible scenarios (Git, Hg, TFS, SVN...).
    Solution-specific overriding rules are available as well to cover virtually any possible renaming needs. It can also be configured so that the rules apply only when at least two instances of Visual Studio are running with the same window title.
    This is particularly useful when branching a solution/project: it becomes possible to easily identify which branch you are working on, in case both would have the same solution/project name.

    Fabric.DiagnosticEvents 1.0
    Fabric Diagnostic Events

    ILSpy.AddIn 1.0
    Integration of the ILSpy Decompiler into Visual Studio.

    IntelliCode Extension 1.0
    IntelliCode Visual Studio Extension Detailed Info

    Microsoft Azure Service Fabric Tools for Visual Studio 2.5
    Microsoft Azure Service Fabric Tools for Visual Studio

    Microsoft Azure Tools 2.9
    Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.30924.1

    Microsoft Continuous Delivery Tools for Visual Studio 0.4
    Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.

    Microsoft JVM Debugger 1.0
    Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

    Microsoft Library Manager 2.1.113+g422d40002e.RR
    Install client-side libraries easily to any web project

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

    Microsoft Visual C++ Wizards 1.0
    Microsoft Visual C++ Wizards

    Microsoft Visual Studio Tools for Containers 1.1
    Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

    Microsoft Visual Studio VC Package 1.0
    Microsoft Visual Studio VC Package

    Node.js Tools 1.5.20902.1 Commit Hash:b474efcb6f92db52a8f8e2e6a8cb9648476885cc
    Adds support for developing and debugging Node.js apps in Visual Studio

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

    Office Developer Tools for Visual Studio 16.0.30502.00
    Microsoft Office Developer Tools for Visual Studio

    ProjectServicesPackage Extension 1.0
    ProjectServicesPackage Visual Studio Extension Detailed Info

    SQL Server Data Tools 16.0.62102.01130
    Microsoft SQL Server Data Tools

    TermWindow Extension 1.0
    TermWindow Visual Studio Extension Detailed Info

    Test Adapter for Boost.Test 1.0
    Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.

    Test Adapter for Google Test 1.0
    Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.

    TypeScript Tools 16.0.21016.2001
    TypeScript Tools for Microsoft Visual Studio

    Visual Basic Tools 3.8.0-5.20604.10+9ed4b774d20940880de8df1ca8b07508aa01c8cd
    Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

    Visual C++ for Cross Platform Mobile Development (Android) 16.0.30608.117
    Visual C++ for Cross Platform Mobile Development (Android)

    Visual C++ for Linux Development 1.0.9.30608
    Visual C++ for Linux Development

    Visual F# Tools 16.8.0-beta.20507.4+da6be68280c89131cdba2045525b80890401defd
    Microsoft Visual F# Tools

    Visual Studio Code Debug Adapter Host Package 1.0
    Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

    Visual Studio Container Tools Extensions 1.0
    View, manage, and diagnose containers within Visual Studio.

    Visual Studio Tools for CMake 1.0
    Visual Studio Tools for CMake

    Visual Studio Tools for Containers 1.0
    Visual Studio Tools for Containers

    Workflow Manager Tools 1.0 1.0
    This package contains the necessary Visual Studio integration components for Workflow Manager.

    ===============================================================================

    0 comments No comments

  3. Eric Garnier 1 Reputation point
    2021-02-17T17:26:53.333+00:00

    Hi @Anna Xiu-MSFT ,
    It just occurs will I was editing a C# source file in my library.
    I got the activity log (I replace some path with [***]).

    Maybe it can help.

    Eric
    <?xml version="1.0" encoding="utf-16"?>
    <?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?>
    <activity>
    <entry>
    <record>1</record>
    <time>2021/02/17 14:35:19.987</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Microsoft Visual Studio 2019 version: 16.0.31004.167</description>
    </entry>
    <entry>
    <record>2</record>
    <time>2021/02/17 14:35:19.987</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Log ID</description>
    <guid>{27C40C56-1708-4A14-8CA5-AA99A63CC93A}</guid>
    </entry>
    <entry>
    <record>3</record>
    <time>2021/02/17 14:35:19.988</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Running in isolation mode.</description>
    </entry>
    <entry>
    <record>4</record>
    <time>2021/02/17 14:35:20.003</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Looking for master PkgDef file</description>
    <path>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\master.pkgdef</path>
    </entry>
    <entry>
    <record>5</record>
    <time>2021/02/17 14:35:20.008</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Creating PkgDefCacheNonVolatile</description>
    </entry>
    <entry>
    <record>6</record>
    <time>2021/02/17 14:35:20.008</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>PkgDefCache flags</description>
    <hr>00013801</hr>
    </entry>
    <entry>
    <record>7</record>
    <time>2021/02/17 14:35:20.013</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Double-checking master pkgdef file</description>
    </entry>
    <entry>
    <record>8</record>
    <time>2021/02/17 14:35:20.015</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>PkgDefManagement initialized</description>
    </entry>
    <entry>
    <record>9</record>
    <time>2021/02/17 14:35:20.015</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>RootFolder</description>
    <path>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community</path>
    </entry>
    <entry>
    <record>10</record>
    <time>2021/02/17 14:35:20.015</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>ShellFolder</description>
    <path>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community</path>
    </entry>
    <entry>
    <record>680</record>
    <time>2021/02/17 14:35:35.043</time>
    <type>Error</type>
    <source>Extension Manager</source>
    <description>Extension will not be loaded because an extension with the same ID 'Microsoft.Windows.DevelopmentKit.Desktop' is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\DESKTOP SDK...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.0\DESKTOP SDK</path>
    </entry>
    <entry>
    <record>681</record>
    <time>2021/02/17 14:35:35.045</time>
    <type>Error</type>
    <source>Extension Manager</source>
    <description>Extension will not be loaded because an extension with the same ID 'Microsoft.Windows.DevelopmentKit.Desktop' is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\DESKTOP SDK...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK</path>
    </entry>
    <entry>
    <record>682</record>
    <time>2021/02/17 14:35:35.046</time>
    <type>Error</type>
    <source>Extension Manager</source>
    <description>Extension will not be loaded because an extension with the same ID 'Microsoft.Windows.DevelopmentKit.WindowsStore' is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\WINDOWS STORE SDK...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\WINDOWS STORE SDK</path>
    </entry>
    <entry>
    <record>944</record>
    <time>2021/02/17 14:37:05.018</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [Microsoft.VisualStudio.Services.Promotions.PromotionsPackage]</description>
    <guid>{B596A79C-0044-4FC4-AAF6-A700B6FDC9ED}</guid>
    </entry>
    <entry>
    <record>945</record>
    <time>2021/02/17 14:37:05.019</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [Microsoft.VisualStudio.PlatformUI.OutputChannelPackage]</description>
    <guid>{E81208FB-9663-4335-B42A-218AE1064AD1}</guid>
    </entry>
    <entry>
    <record>946</record>
    <time>2021/02/17 14:37:05.032</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Microsoft.VisualStudio.PlatformUI.OutputChannelPackage]</description>
    <guid>{E81208FB-9663-4335-B42A-218AE1064AD1}</guid>
    </entry>
    <entry>
    <record>947</record>
    <time>2021/02/17 14:37:05.174</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Microsoft.VisualStudio.Services.Promotions.PromotionsPackage]</description>
    <guid>{B596A79C-0044-4FC4-AAF6-A700B6FDC9ED}</guid>
    </entry>
    <entry>
    <record>948</record>
    <time>2021/02/17 14:37:05.183</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [Code Analysis Package]</description>
    <guid>{B20604B0-72BC-4953-BB92-95BF26D30CFA}</guid>
    </entry>
    <entry>
    <record>949</record>
    <time>2021/02/17 14:37:05.354</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Received promotion with RuleId: 22D8D1DD-FC08-401B-8694-0BD24FC2CBA7</description>
    </entry>
    <entry>
    <record>950</record>
    <time>2021/02/17 14:37:05.357</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Subscribed to trigger event for promotion with RuleId: 22D8D1DD-FC08-401B-8694-0BD24FC2CBA7</description>
    </entry>
    <entry>
    <record>951</record>
    <time>2021/02/17 14:37:05.357</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Received promotion with RuleId: 496FC250-1F2D-4335-B359-647330762614</description>
    </entry>
    <entry>
    <record>952</record>
    <time>2021/02/17 14:37:05.357</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Subscribed to trigger event for promotion with RuleId: 496FC250-1F2D-4335-B359-647330762614</description>
    </entry>
    <entry>
    <record>953</record>
    <time>2021/02/17 14:37:05.357</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Received promotion with RuleId: A10E8B1A-B7A6-45B1-B263-0AA92A0B5459</description>
    </entry>
    <entry>
    <record>954</record>
    <time>2021/02/17 14:37:05.357</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Subscribed to trigger event for promotion with RuleId: A10E8B1A-B7A6-45B1-B263-0AA92A0B5459</description>
    </entry>
    <entry>
    <record>955</record>
    <time>2021/02/17 14:37:05.358</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Received promotion with RuleId: B8E52CE5-2E39-4015-926F-EC0C89D1050A</description>
    </entry>
    <entry>
    <record>956</record>
    <time>2021/02/17 14:37:05.358</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Subscribed to trigger event for promotion with RuleId: B8E52CE5-2E39-4015-926F-EC0C89D1050A</description>
    </entry>
    <entry>
    <record>957</record>
    <time>2021/02/17 14:37:05.358</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Received promotion with RuleId: CED1FFBC-6E63-450F-9A99-CDE4C56F401D</description>
    </entry>
    <entry>
    <record>958</record>
    <time>2021/02/17 14:37:05.358</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Subscribed to trigger event for promotion with RuleId: CED1FFBC-6E63-450F-9A99-CDE4C56F401D</description>
    </entry>
    <entry>
    <record>959</record>
    <time>2021/02/17 14:37:05.358</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Received promotion with RuleId: D5EF9893-2215-44EF-8D6E-D563C6FFB1AC</description>
    </entry>
    <entry>
    <record>960</record>
    <time>2021/02/17 14:37:05.358</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Subscribed to trigger event for promotion with RuleId: D5EF9893-2215-44EF-8D6E-D563C6FFB1AC</description>
    </entry>
    <entry>
    <record>961</record>
    <time>2021/02/17 14:37:05.359</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Received promotion with RuleId: FA900934-7FD0-4DED-A500-47CC9B2E7327</description>
    </entry>
    <entry>
    <record>962</record>
    <time>2021/02/17 14:37:05.359</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Subscribed to trigger event for promotion with RuleId: FA900934-7FD0-4DED-A500-47CC9B2E7327</description>
    </entry>
    <entry>
    <record>963</record>
    <time>2021/02/17 14:37:05.359</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Received promotion with RuleId: 7BED179A-3BE7-414D-8C40-914B591EF553</description>
    </entry>
    <entry>
    <record>964</record>
    <time>2021/02/17 14:37:05.359</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Subscribed to trigger event for promotion with RuleId: 7BED179A-3BE7-414D-8C40-914B591EF553</description>
    </entry>
    <entry>
    <record>965</record>
    <time>2021/02/17 14:37:05.359</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Received promotion with RuleId: 93EA625A-53B4-4003-B56F-AB936759983B</description>
    </entry>
    <entry>
    <record>966</record>
    <time>2021/02/17 14:37:05.359</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Subscribed to trigger event for promotion with RuleId: 93EA625A-53B4-4003-B56F-AB936759983B</description>
    </entry>
    <entry>
    <record>967</record>
    <time>2021/02/17 14:37:05.360</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Received promotion with RuleId: DED7D4AD-2C83-4B10-BC64-5C8DF0C052A5</description>
    </entry>
    <entry>
    <record>968</record>
    <time>2021/02/17 14:37:05.360</time>
    <type>Information</type>
    <source>PromotionsFramework</source>
    <description>Subscribed to trigger event for promotion with RuleId: DED7D4AD-2C83-4B10-BC64-5C8DF0C052A5</description>
    </entry>
    <entry>
    <record>969</record>
    <time>2021/02/17 14:37:05.407</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Code Analysis Package]</description>
    <guid>{B20604B0-72BC-4953-BB92-95BF26D30CFA}</guid>
    </entry>
    <entry>
    <record>970</record>
    <time>2021/02/17 14:37:05.416</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [ContactServiceModelPackage]</description>
    <guid>{BB47EB74-8188-4108-96F3-29019920D12F}</guid>
    </entry>
    <entry>
    <record>971</record>
    <time>2021/02/17 14:37:05.705</time>
    <type>Information</type>
    <source>UserConnection</source>
    <description>eric_garnier@Karima ben .com signed in for IDE user</description>
    </entry>
    <entry>
    <record>972</record>
    <time>2021/02/17 14:37:05.705</time>
    <type>Information</type>
    <source>UserConnection</source>
    <description>VS user ID = 1b6fdcd2-2ea9-4220-b618-7078c23cefc8</description>
    </entry>
    <entry>
    <record>973</record>
    <time>2021/02/17 14:37:05.710</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [ContactServiceModelPackage]</description>
    <guid>{BB47EB74-8188-4108-96F3-29019920D12F}</guid>
    </entry>
    <entry>
    <record>974</record>
    <time>2021/02/17 14:37:05.724</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [Ping Service Proffer Package]</description>
    <guid>{84E5EFE7-2E0D-4434-96C1-E281C9573FDC}</guid>
    </entry>
    <entry>
    <record>975</record>
    <time>2021/02/17 14:37:05.739</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Ping Service Proffer Package]</description>
    <guid>{84E5EFE7-2E0D-4434-96C1-E281C9573FDC}</guid>
    </entry>
    <entry>
    <record>976</record>
    <time>2021/02/17 14:37:05.744</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [Roaming Manager Package]</description>
    <guid>{54888390-2C04-4B04-B451-3166730C75BA}</guid>
    </entry>
    <entry>
    <record>977</record>
    <time>2021/02/17 14:37:05.759</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Roaming Manager Package]</description>
    <guid>{54888390-2C04-4B04-B451-3166730C75BA}</guid>
    </entry>
    <entry>
    <record>978</record>
    <time>2021/02/17 14:37:05.865</time>
    <type>Warning</type>
    <source>GlobalBrokeredServiceContainer</source>
    <description>Request for "Microsoft.VisualStudio.Shell.Internal.SettingsManager (1.0)" from Process denied because the service is only exposed RemoteExclusiveClient, LiveShareGuest.</description>
    </entry>
    <entry>
    <record>979</record>
    <time>2021/02/17 14:37:05.865</time>
    <type>Warning</type>
    <source>GlobalBrokeredServiceContainer</source>
    <description>Request for proxy to "Microsoft.VisualStudio.Shell.Internal.SettingsManager (1.0)" is declined: ServiceAudienceMismatch.</description>
    </entry>
    <entry>
    <record>980</record>
    <time>2021/02/17 14:37:05.912</time>
    <type>Information</type>
    <source>RoamingManagerPackage</source>
    <description>User logged in : 1b6fdcd2-2ea9-4220-b618-7078c23cefc8.14_PreferredProfile</description>
    </entry>
    <entry>
    <record>981</record>
    <time>2021/02/17 14:37:05.995</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [Roaming Profiles Package]</description>
    <guid>{C194969A-A5B1-4AF2-A9DF-ECF7CE982A05}</guid>
    </entry>
    <entry>
    <record>982</record>
    <time>2021/02/17 14:37:06.018</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Roaming Profiles Package]</description>
    <guid>{C194969A-A5B1-4AF2-A9DF-ECF7CE982A05}</guid>
    </entry>
    <entry>
    <record>983</record>
    <time>2021/02/17 14:37:12.089</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Creating database from bytes completed</description>
    </entry>
    <entry>
    <record>984</record>
    <time>2021/02/17 14:37:12.094</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Downloading and processing patch file: Elfie_V1/20201029_Patch.xml</description>
    </entry>
    <entry>
    <record>985</record>
    <time>2021/02/17 14:37:12.105</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Creating download client: Elfie_V1/20201029_Patch.xml</description>
    </entry>
    <entry>
    <record>986</record>
    <time>2021/02/17 14:37:12.108</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Creating download client completed</description>
    </entry>
    <entry>
    <record>987</record>
    <time>2021/02/17 14:37:12.111</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Read file from client</description>
    </entry>
    <entry>
    <record>988</record>
    <time>2021/02/17 14:37:12.114</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Read file completed. Client returned no data</description>
    </entry>
    <entry>
    <record>989</record>
    <time>2021/02/17 14:37:12.116</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>File not downloaded. Trying again in 00:01:00</description>
    </entry>
    <entry>
    <record>990</record>
    <time>2021/02/17 14:38:12.129</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Read file from client</description>
    </entry>
    <entry>
    <record>991</record>
    <time>2021/02/17 14:38:12.131</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Read file completed. Client returned data</description>
    </entry>
    <entry>
    <record>992</record>
    <time>2021/02/17 14:38:12.132</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Converting data to XElement</description>
    </entry>
    <entry>
    <record>993</record>
    <time>2021/02/17 14:38:12.133</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Converting data to XElement completed</description>
    </entry>
    <entry>
    <record>994</record>
    <time>2021/02/17 14:38:12.135</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Processing patch element</description>
    </entry>
    <entry>
    <record>995</record>
    <time>2021/02/17 14:38:12.137</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Local version is up to date</description>
    </entry>
    <entry>
    <record>996</record>
    <time>2021/02/17 14:38:12.142</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Processing patch element completed. Update again in 1.00:00:00</description>
    </entry>
    <entry>
    <record>997</record>
    <time>2021/02/17 14:38:12.145</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Downloading and processing patch file completed</description>
    </entry>
    <entry>
    <record>998</record>
    <time>2021/02/17 14:38:12.146</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Patching local database completed</description>
    </entry>
    <entry>
    <record>999</record>
    <time>2021/02/17 14:38:12.147</time>
    <type>Information</type>
    <source>RoslynNuGetSearch</source>
    <description>Waiting 1.00:00:00 until next update</description>
    </entry>
    <entry>
    <record>1000</record>
    <time>2021/02/17 14:50:25.197</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering OnAddVerbInvoked</description>
    </entry>
    <entry>
    <record>1001</record>
    <time>2021/02/17 14:50:25.197</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering AddItem. Persistence data for item: C:\Users[]\OrderType1Context.cs</description>
    </entry>
    <entry>
    <record>1002</record>
    <time>2021/02/17 14:50:25.198</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering TryPromoteItem</description>
    </entry>
    <entry>
    <record>1003</record>
    <time>2021/02/17 14:50:25.198</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Did not find item to promote</description>
    </entry>
    <entry>
    <record>1004</record>
    <time>2021/02/17 14:50:25.202</time>
    <type>Information</type>
    <source>CodeContainerTracing</source>
    <description>Entering MruItemsStoreServiceDecorator.AddMRUItem. Item category: 01235aad-8f1b-429f-9d02-61a0101ea275, lpszItem: %UserProfile%[
    ]\OrderType1Context.cs|{00000000-0000-0000-0000-000000000000}||False</description>
    </entry>
    <entry>
    <record>1005</record>
    <time>2021/02/17 14:55:25.188</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering OnAddVerbInvoked</description>
    </entry>
    <entry>
    <record>1006</record>
    <time>2021/02/17 14:55:25.188</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering AddItem. Persistence data for item: C:\Users[]\OrderType1Context.cs</description>
    </entry>
    <entry>
    <record>1007</record>
    <time>2021/02/17 14:55:25.188</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering TryPromoteItem</description>
    </entry>
    <entry>
    <record>1008</record>
    <time>2021/02/17 14:55:25.188</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering PromoteItemAt and found the index of the item to be 0</description>
    </entry>
    <entry>
    <record>1009</record>
    <time>2021/02/17 15:00:25.200</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering OnAddVerbInvoked</description>
    </entry>
    <entry>
    <record>1010</record>
    <time>2021/02/17 15:00:25.200</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering AddItem. Persistence data for item: C:\Users[
    ]\OrderType1Context.cs</description>
    </entry>
    <entry>
    <record>1011</record>
    <time>2021/02/17 15:00:25.200</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering TryPromoteItem</description>
    </entry>
    <entry>
    <record>1012</record>
    <time>2021/02/17 15:00:25.200</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering PromoteItemAt and found the index of the item to be 0</description>
    </entry>
    <entry>
    <record>1013</record>
    <time>2021/02/17 15:05:25.192</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering OnAddVerbInvoked</description>
    </entry>
    <entry>
    <record>1014</record>
    <time>2021/02/17 15:05:25.192</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering AddItem. Persistence data for item: C:\Users[]\OrderType1Context.cs</description>
    </entry>
    <entry>
    <record>1015</record>
    <time>2021/02/17 15:05:25.192</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering TryPromoteItem</description>
    </entry>
    <entry>
    <record>1016</record>
    <time>2021/02/17 15:05:25.192</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering PromoteItemAt and found the index of the item to be 0</description>
    </entry>
    <entry>
    <record>1017</record>
    <time>2021/02/17 15:06:38.095</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering OnAddVerbInvoked</description>
    </entry>
    <entry>
    <record>1018</record>
    <time>2021/02/17 15:06:38.095</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering AddItem. Persistence data for item: C:\Users[
    ]\OrderType1Context.cs</description>
    </entry>
    <entry>
    <record>1019</record>
    <time>2021/02/17 15:06:38.095</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering TryPromoteItem</description>
    </entry>
    <entry>
    <record>1020</record>
    <time>2021/02/17 15:06:38.095</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering PromoteItemAt and found the index of the item to be 0</description>
    </entry>
    <entry>
    <record>1021</record>
    <time>2021/02/17 15:07:05.319</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering OnAddVerbInvoked</description>
    </entry>
    <entry>
    <record>1022</record>
    <time>2021/02/17 15:07:05.319</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering AddItem. Persistence data for item: C:\Users[]\OrderType1Context.cs</description>
    </entry>
    <entry>
    <record>1023</record>
    <time>2021/02/17 15:07:05.319</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering TryPromoteItem</description>
    </entry>
    <entry>
    <record>1024</record>
    <time>2021/02/17 15:07:05.319</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering PromoteItemAt and found the index of the item to be 0</description>
    </entry>
    <entry>
    <record>1025</record>
    <time>2021/02/17 16:50:53.154</time>
    <type>Error</type>
    <source>Cascade Workspace</source>
    <description>[ContactServiceModel E] Request for method:publishPresence failed with error:Microsoft.Cascade.Rpc.RemoteInvocationException: Server timeout (30000.00ms) elapsed without receiving a message from the server. at Microsoft.Cascade.Rpc.RpcProxy.<SendRequestAsync>d__18.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.Cascade.Rpc.RpcProxy.<InvokeWithResultAsync>d__161.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A; at Microsoft.VisualStudio.LiveShare.ContactServiceModel.ContactServiceProviderModel.&lt;RequestAsync&gt;d__592.MoveNext() serviceId:LivesharePresence. Retries remaining: 2</description>
    </entry>
    <entry>
    <record>1026</record>
    <time>2021/02/17 16:50:53.586</time>
    <type>Error</type>
    <source>Cascade Workspace</source>
    <description>[ContactServiceModel E] Request for method:publishPresence failed with error:Microsoft.Cascade.Rpc.RemoteInvocationException: Invalid state for request type:publishPresence at Microsoft.Cascade.Rpc.RpcProxy.<SendRequestAsync>d__18.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.Cascade.Rpc.RpcProxy.<InvokeWithResultAsync>d__161.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A; at Microsoft.VisualStudio.LiveShare.ContactServiceModel.ContactServiceProviderModel.&lt;RequestAsync&gt;d__592.MoveNext() serviceId:LivesharePresence. Retries remaining: 1</description>
    </entry>
    <entry>
    <record>1027</record>
    <time>2021/02/17 16:50:54.013</time>
    <type>Error</type>
    <source>Cascade Workspace</source>
    <description>[ContactServiceModel E] Request for method:publishPresence failed with error:Microsoft.Cascade.Rpc.RemoteInvocationException: Invalid state for request type:publishPresence at Microsoft.Cascade.Rpc.RpcProxy.<SendRequestAsync>d__18.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.Cascade.Rpc.RpcProxy.<InvokeWithResultAsync>d__161.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A; at Microsoft.VisualStudio.LiveShare.ContactServiceModel.ContactServiceProviderModel.&lt;RequestAsync&gt;d__592.MoveNext() serviceId:LivesharePresence. Retries remaining: 0</description>
    </entry>
    <entry>
    <record>1028</record>
    <time>2021/02/17 17:10:39.556</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering OnAddVerbInvoked</description>
    </entry>
    <entry>
    <record>1029</record>
    <time>2021/02/17 17:10:39.556</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering AddItem. Persistence data for item: C:\Users[
    ]\OrderType1Context.cs</description>
    </entry>
    <entry>
    <record>1030</record>
    <time>2021/02/17 17:10:39.556</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering TryPromoteItem</description>
    </entry>
    <entry>
    <record>1031</record>
    <time>2021/02/17 17:10:39.556</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering PromoteItemAt and found the index of the item to be 0</description>
    </entry>
    <entry>
    <record>1032</record>
    <time>2021/02/17 17:15:39.593</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering OnAddVerbInvoked</description>
    </entry>
    <entry>
    <record>1033</record>
    <time>2021/02/17 17:15:39.593</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering AddItem. Persistence data for item: C:\Users[***]\OrderType1Context.cs</description>
    </entry>
    <entry>
    <record>1034</record>
    <time>2021/02/17 17:15:39.593</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering TryPromoteItem</description>
    </entry>
    <entry>
    <record>1035</record>
    <time>2021/02/17 17:15:39.593</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering PromoteItemAt and found the index of th


  4. Eric Garnier 1 Reputation point
    2021-02-27T18:09:20.143+00:00

    Hi @Anna Xiu-MSFT
    sorry to be late. I am not full time using VS2019.
    I just try to run VS in safemode, but got not to much success.
    the solution explorer fills with this:

    Failed to create view with exception:
    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.ProjectSystem.Managed.VS, Version=16.8.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.VisualStudio.ProjectSystem.Managed.VS, Version=16.8.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.ProjectSystem.Managed.VS, Version=16.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.VisualStudio.ProjectSystem.Managed.VS, Version=16.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

    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].

    at System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32 methodToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount)
    at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, Int32 methodToken, IntPtr[] typeInstantiationContext, Int32 typeInstCount, IntPtr[] methodInstantiationContext, Int32 methodInstCount)
    at System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module, Int32 methodToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
    at System.Reflection.RuntimeModule.ResolveMethod(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
    at Microsoft.VisualStudio.Composition.Reflection.ResolverExtensions.Resolve(MethodRef methodRef)
    at Microsoft.VisualStudio.Composition.Reflection.MethodRef.Resolve()
    at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)
    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
    at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
    --- End of stack trace from previous location where exception was thrown ---
    at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
    at Microsoft.VisualStudio.Composition.DelegateServices.<>c__DisplayClass2_01.<As>b__0() at System.Lazy1.CreateValue()
    at System.Lazy1.LazyInitValue() at System.Lazy1.get_Value()
    at Microsoft.VisualStudio.PlatformUI.AttachedCollectionService.<>c__DisplayClass29_0.<AggregateItemsSource>b__0(Lazy2 provider) at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext()
    at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable`1 collection)
    at Microsoft.VisualStudio.PlatformUI.AttachedCollectionService.AggregateItemsSource(Object item, String relationshipName)
    at Microsoft.VisualStudio.PlatformUI.AttachedCollectionService.GetOrCreateCollectionSource(Object item, String relationshipName)
    at Microsoft.VisualStudio.PlatformUI.SolutionNavigatorPane.HookShowSolutionNodeEvents(IVsHierarchyItem solution)
    at Microsoft.VisualStudio.PlatformUI.SolutionNavigatorPane.RefillNavigator(Boolean skipRestorePhase, Boolean isFirstLoad)

    The main window fills with this :
    ![72589-image.png][1]

    I close and restart VS, but got the same result when opening my solution.
    I will try to repair it with VS Installer.

    I will let you known the result.

    Eric
    [1]: /api/attachments/72589-image.png?platform=QnA

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.