A static method of a static class is not available——VsShellUtilities.ShowToolsOptionsPage

sigger 46 Reputation points
2022-08-12T11:46:40.933+00:00

the Namespace is Microsoft.VisualStudio.Shell
and I use VS2019,CLR is .NET Framework 4.6/4.7.2
My colleague can't use this method either

Developer technologies | .NET | .NET Runtime
Developer technologies | ASP.NET | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Lan Huang-MSFT 30,206 Reputation points Microsoft External Staff
    2022-08-16T05:13:50.347+00:00

    Hi @sigger ,
    I tested the new project in VS2019 with the .NET Framework 4.7.2 and found no problems.
    Can you elaborate on how it doesn't work? Do you have specific error messages?
    https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.shell.vsshellutilities.showtoolsoptionspage?view=visualstudiosdk-2022
    231342-microsoftteams-image-1.png
    231371-microsoftteams-image.png
    Best regards,
    Lan Huang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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 additional answers

Sort by: Most helpful

Your answer

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