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
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,247 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,117 questions
0 comments No comments
{count} votes

Accepted answer
  1. Lan Huang-MSFT 25,391 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