Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin doesn't work for VS2022 anymore #19

Open
syby119 opened this issue Mar 7, 2023 · 2 comments
Open

The plugin doesn't work for VS2022 anymore #19

syby119 opened this issue Mar 7, 2023 · 2 comments

Comments

@syby119
Copy link

syby119 commented Mar 7, 2023

In VS2022 Comunity/Professional, when I want to add a doxygen style comment to a function, the plugin doesn't work. My colleagues also encountered with the same issue. Do you have a plan to fix this problem?

@syby119
Copy link
Author

syby119 commented Mar 7, 2023

By the way, we use the plugin for C++ project

@theRTC204
Copy link

theRTC204 commented Mar 9, 2023

Likewise - just found the plugin, and getting an error when attempting to view the Doxygen section in Tools > Options

The following is taken from the ActivityLog.xml file

SetSite failed for package [DoxygenCommentsPackage]
Source: 'Microsoft.VisualStudio.Editor.Implementation'
Description: Value cannot be null.
Parameter name: viewAdapter
System.ArgumentNullException: Value cannot be null.
Parameter name: viewAdapter
   at Microsoft.VisualStudio.Editor.Implementation.VsEditorAdaptersFactoryService.GetWpfTextViewHostFromVsTextView(IVsTextView viewAdapter)
   at Microsoft.VisualStudio.Editor.Implementation.VsEditorAdaptersFactoryService.GetWpfTextView(IVsTextView viewAdapter)
   at DoxygenComments.UpdateDoxygenCommentCmd.<InitializeAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at DoxygenComments.DoxygenCommentsPackage.<InitializeAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass21_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)
   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants