2022-05-27 18:17:58,996 [INFO] LicenseHeaderManager.LicenseHeadersPackage: Logger has been initialized
2022-05-27 18:17:59,620 [INFO] LicenseHeaderManager.Options.Model.BaseOptionModel1: Load options from config file 2022-05-27 18:18:00,079 [INFO] LicenseHeaderManager.Options.Model.BaseOptionModel1: Load options from config file
2022-05-27 18:18:10,040 [ERROR] LicenseHeaderManager.MenuItemButtonHandler.FolderProjectMenuItemButtonHandler: The operation 'Remove LicenseHeader from all files in folder or project' failed
System.Runtime.InteropServices.COMException (0x80004005): Errore HRESULT E_FAIL restituito da una chiamata a un componente COM.
in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
in Microsoft.VisualStudio.LanguageServices.Implementation.Utilities.Exceptions.ThrowEFail()
in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.FileCodeModel.GetDocument()
in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.FileCodeModel.GetSyntaxTree()
in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.FileCodeModel..ctor(CodeModelState state, Object parent, DocumentId documentId, Boolean isSourceGeneratedOutput, ITextManagerAdapter textManagerAdapter)
in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.FileCodeModel.Create(CodeModelState state, Object parent, DocumentId documentId, Boolean isSourceGeneratorOutput, ITextManagerAdapter textManagerAdapter)
in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.CodeModelProjectCache.GetOrCreateFileCodeModel(String filePath, Object parent)
in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.ProjectCodeModel.Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.IProjectCodeModel.GetOrCreateFileCodeModel(String filePath, Object parent)
in Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.CPS.CPSCodeModelFactory.GetFileCodeModel(IWorkspaceProjectContext context, ProjectItem item)
in Microsoft.VisualStudio.ProjectSystem.VS.LanguageServices.ProjectContextCodeModelProvider.<>cDisplayClass7_0.b0(IWorkspaceProjectContextAccessor accessor)
in Microsoft.VisualStudio.ProjectSystem.LanguageServices.WorkspaceProjectContextHost.WorkspaceProjectContextHostInstance.<>cDisplayClass19_0`1.b0(CancellationToken _)
in Microsoft.VisualStudio.ProjectSystem.OnceInitializedOnceDisposedUnderLockAsync.<>cDisplayClass6_0`1.<b0>d.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in Microsoft.VisualStudio.Threading.ReentrantSemaphore.StackSemaphore.<>cDisplayClass3_0.<b0>d.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in Microsoft.VisualStudio.Threading.ReentrantSemaphore.StackSemaphore.d3.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in Microsoft.VisualStudio.ProjectSystem.OnceInitializedOnceDisposedUnderLockAsync.d61.MoveNext() --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in Microsoft.VisualStudio.ProjectSystem.LanguageServices.WorkspaceProjectContextHost.WorkspaceProjectContextHostInstance.<OpenContextForWriteAsync>d__191.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in Microsoft.VisualStudio.ProjectSystem.LanguageServices.WorkspaceProjectContextHost.d15`1.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in Microsoft.VisualStudio.ProjectSystem.LanguageServices.ActiveWorkspaceProjectContextHost.d61.MoveNext() --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in Microsoft.VisualStudio.ProjectSystem.VS.LanguageServices.ProjectContextCodeModelProvider.<GetFileCodeModelAsync>d__7.MoveNext() --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() in Microsoft.VisualStudio.Threading.JoinableTask1.CompleteOnCurrentThread()
in LicenseHeaderManager.Utils.Extensions.<>c__DisplayClass3_0.b2() in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\Extensions.cs:riga 94
in LicenseHeaderManager.Utils.Extensions.CreateAdditionalProperty(String token, Func1 canCreateValue, Func1 createValue) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\Extensions.cs:riga 122
in LicenseHeaderManager.Utils.Extensions.GetAdditionalProperties(ProjectItem item) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\Extensions.cs:riga 73
in LicenseHeaderManager.Utils.CoreHelpers.GetFilesToProcess(ProjectItem item, IDictionary2 headers, Int32& countSubLicenseHeaders, IDictionary2& fileOpenedStatus, Boolean searchForLicenseHeaders) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\CoreHelpers.cs:riga 109
in LicenseHeaderManager.Utils.CoreHelpers.GetFilesToProcess(ProjectItem item, IDictionary2 headers, Int32& countSubLicenseHeaders, IDictionary2& fileOpenedStatus, Boolean searchForLicenseHeaders) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\CoreHelpers.cs:riga 128
in LicenseHeaderManager.Utils.CoreHelpers.GetFilesToProcess(ProjectItem item, IDictionary2 headers, Int32& countSubLicenseHeaders, IDictionary2& fileOpenedStatus, Boolean searchForLicenseHeaders) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\CoreHelpers.cs:riga 128
in LicenseHeaderManager.Utils.CoreHelpers.GetFilesToProcess(ProjectItem item, IDictionary2 headers, Int32& countSubLicenseHeaders, IDictionary2& fileOpenedStatus, Boolean searchForLicenseHeaders) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\CoreHelpers.cs:riga 128
in LicenseHeaderManager.MenuItemCommands.Common.RemoveLicenseHeaderFromAllFilesInProjectHelper.d4.MoveNext() in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\MenuItemCommands\Common\RemoveLicenseHeaderFromAllFilesInProjectHelper.cs:riga 53
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in LicenseHeaderManager.MenuItemButtonHandler.Implementations.RemoveLicenseHeaderToAllFilesInFolderProjectImplementation.d7.MoveNext() in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\MenuItemButtonHandler\Implementations\RemoveLicenseHeaderToAllFilesInFolderProjectImplementation.cs:riga 55
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in LicenseHeaderManager.MenuItemButtonHandler.FolderProjectMenuItemButtonHandler.d12.MoveNext() in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\MenuItemButtonHandler\FolderProjectMenuItemButtonHandler.cs:riga 65
2022-05-27 18:17:58,996 [INFO] LicenseHeaderManager.LicenseHeadersPackage: Logger has been initialized 2022-05-27 18:17:59,620 [INFO] LicenseHeaderManager.Options.Model.BaseOptionModelb0(IWorkspaceProjectContextAccessor accessor)
in Microsoft.VisualStudio.ProjectSystem.LanguageServices.WorkspaceProjectContextHost.WorkspaceProjectContextHostInstance.<>cDisplayClass19_0`1.b 0(CancellationToken _)
in Microsoft.VisualStudio.ProjectSystem.OnceInitializedOnceDisposedUnderLockAsync.<>cDisplayClass6_0`1.<b0>d.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in Microsoft.VisualStudio.Threading.ReentrantSemaphore.StackSemaphore.<>cDisplayClass3_0.<b 0>d.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in Microsoft.VisualStudio.Threading.ReentrantSemaphore.StackSemaphore.d3.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in Microsoft.VisualStudio.ProjectSystem.OnceInitializedOnceDisposedUnderLockAsync.d 6d15`1.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in Microsoft.VisualStudio.ProjectSystem.LanguageServices.ActiveWorkspaceProjectContextHost.d 6b2() in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\Extensions.cs:riga 94
in LicenseHeaderManager.Utils.Extensions.CreateAdditionalProperty(String token, Funcd 4.MoveNext() in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\MenuItemCommands\Common\RemoveLicenseHeaderFromAllFilesInProjectHelper.cs:riga 53
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in LicenseHeaderManager.MenuItemButtonHandler.Implementations.RemoveLicenseHeaderToAllFilesInFolderProjectImplementation.d7.MoveNext() in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\MenuItemButtonHandler\Implementations\RemoveLicenseHeaderToAllFilesInFolderProjectImplementation.cs:riga 55
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in LicenseHeaderManager.MenuItemButtonHandler.FolderProjectMenuItemButtonHandler.d 12.MoveNext() in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\MenuItemButtonHandler\FolderProjectMenuItemButtonHandler.cs:riga 65
1: Load options from config file 2022-05-27 18:18:00,079 [INFO] LicenseHeaderManager.Options.Model.BaseOptionModel
1: Load options from config file 2022-05-27 18:18:10,040 [ERROR] LicenseHeaderManager.MenuItemButtonHandler.FolderProjectMenuItemButtonHandler: The operation 'Remove LicenseHeader from all files in folder or project' failed System.Runtime.InteropServices.COMException (0x80004005): Errore HRESULT E_FAIL restituito da una chiamata a un componente COM. in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) in Microsoft.VisualStudio.LanguageServices.Implementation.Utilities.Exceptions.ThrowEFail() in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.FileCodeModel.GetDocument() in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.FileCodeModel.GetSyntaxTree() in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.FileCodeModel..ctor(CodeModelState state, Object parent, DocumentId documentId, Boolean isSourceGeneratedOutput, ITextManagerAdapter textManagerAdapter) in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.FileCodeModel.Create(CodeModelState state, Object parent, DocumentId documentId, Boolean isSourceGeneratorOutput, ITextManagerAdapter textManagerAdapter) in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.CodeModelProjectCache.GetOrCreateFileCodeModel(String filePath, Object parent) in Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.ProjectCodeModel.Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.IProjectCodeModel.GetOrCreateFileCodeModel(String filePath, Object parent) in Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.CPS.CPSCodeModelFactory.GetFileCodeModel(IWorkspaceProjectContext context, ProjectItem item) in Microsoft.VisualStudio.ProjectSystem.VS.LanguageServices.ProjectContextCodeModelProvider.<>cDisplayClass7_0.1.MoveNext() --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in Microsoft.VisualStudio.ProjectSystem.LanguageServices.WorkspaceProjectContextHost.WorkspaceProjectContextHostInstance.<OpenContextForWriteAsync>d__19
1.MoveNext() --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in Microsoft.VisualStudio.ProjectSystem.LanguageServices.WorkspaceProjectContextHost.1.MoveNext() --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in Microsoft.VisualStudio.ProjectSystem.VS.LanguageServices.ProjectContextCodeModelProvider.<GetFileCodeModelAsync>d__7.MoveNext() --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() in Microsoft.VisualStudio.Threading.JoinableTask
1.CompleteOnCurrentThread() in LicenseHeaderManager.Utils.Extensions.<>c__DisplayClass3_0.1 canCreateValue, Func
1 createValue) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\Extensions.cs:riga 122 in LicenseHeaderManager.Utils.Extensions.GetAdditionalProperties(ProjectItem item) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\Extensions.cs:riga 73 in LicenseHeaderManager.Utils.CoreHelpers.GetFilesToProcess(ProjectItem item, IDictionary2 headers, Int32& countSubLicenseHeaders, IDictionary
2& fileOpenedStatus, Boolean searchForLicenseHeaders) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\CoreHelpers.cs:riga 109 in LicenseHeaderManager.Utils.CoreHelpers.GetFilesToProcess(ProjectItem item, IDictionary2 headers, Int32& countSubLicenseHeaders, IDictionary
2& fileOpenedStatus, Boolean searchForLicenseHeaders) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\CoreHelpers.cs:riga 128 in LicenseHeaderManager.Utils.CoreHelpers.GetFilesToProcess(ProjectItem item, IDictionary2 headers, Int32& countSubLicenseHeaders, IDictionary
2& fileOpenedStatus, Boolean searchForLicenseHeaders) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\CoreHelpers.cs:riga 128 in LicenseHeaderManager.Utils.CoreHelpers.GetFilesToProcess(ProjectItem item, IDictionary2 headers, Int32& countSubLicenseHeaders, IDictionary
2& fileOpenedStatus, Boolean searchForLicenseHeaders) in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Utils\CoreHelpers.cs:riga 128 in LicenseHeaderManager.MenuItemCommands.Common.RemoveLicenseHeaderFromAllFilesInProjectHelper.