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

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
458 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
979 questions
No comments
{count} votes

Accepted answer
  1. Lan Huang-MSFT 11,656 Reputation points Microsoft Vendor
    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