How to Install VSTA on VS 2022 Pro?

逸文 曾 21 Reputation points
2022-06-14T09:05:50.323+00:00

I install Microsoft Visual Studio Tools for Applications 2019 (VSTA 2019) on VS 2022 Pro , but it doesn't work.

How to Install VSTA on VS 2022 Pro?

here is install Log :

2022/6/14 下午 04:41:21 - Microsoft VSIX Installer
2022/6/14 下午 04:41:21 - -------------------------------------------
2022/6/14 下午 04:41:21 - vsixinstaller.exe version:
2022/6/14 下午 04:41:21 - 17.2.2174
2022/6/14 下午 04:41:21 - -------------------------------------------
2022/6/14 下午 04:41:21 - Command line parameters:
2022/6/14 下午 04:41:21 - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,/instanceIds:c31388f4,C:\ProgramData\Package Cache\BB756D6C166746EEEFABABE770BFB5A25E9EA2E0\packages\Microsoft.VisualStudio.Tools.Applications.vsix
2022/6/14 下午 04:41:21 - -------------------------------------------
2022/6/14 下午 04:41:21 - Microsoft VSIX Installer
2022/6/14 下午 04:41:21 - -------------------------------------------
2022/6/14 下午 04:41:21 - Initializing Install...
2022/6/14 下午 04:41:22 - 擴充功能詳細資料...
2022/6/14 下午 04:41:22 - Identifier : Microsoft.VisualStudio.Tools.Applications
2022/6/14 下午 04:41:22 - Name : Microsoft.VisualStudio.Tools.Applications
2022/6/14 下午 04:41:22 - Author : Microsoft Corporation
2022/6/14 下午 04:41:22 - Version : 16.0.31110.1
2022/6/14 下午 04:41:22 - Description : Visual Studio Tools for Applications VSIX package
2022/6/14 下午 04:41:22 - Locale : en-US
2022/6/14 下午 04:41:22 - MoreInfoURL :
2022/6/14 下午 04:41:22 - InstalledByMSI : False
2022/6/14 下午 04:41:22 - SupportedFrameworkVersionRange : [4.5,)
2022/6/14 下午 04:41:22 -
2022/6/14 下午 04:42:07 - SignatureState : InvalidTimestamp
2022/6/14 下午 04:42:07 - SignedBy : Microsoft Corporation
2022/6/14 下午 04:42:07 - Certificate Info :
2022/6/14 下午 04:42:07 - -------------------------------------------------------
2022/6/14 下午 04:42:07 - [Subject] : CN=Microsoft Corporation, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
2022/6/14 下午 04:42:07 - [Issuer] : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
2022/6/14 下午 04:42:07 - [Serial Number] : 33000003C93EFB7FE21A3D22B30000000003C9
2022/6/14 下午 04:42:07 - [Not Before] : 2020/12/16 上午 05:24:05
2022/6/14 下午 04:42:07 - [Not After] : 2021/12/3 上午 05:24:05
2022/6/14 下午 04:42:07 - [Thumbprint] : E120FF932F2D4DFB59B1DA16BA7C397119E2DEBF
2022/6/14 下午 04:42:07 -
2022/6/14 下午 04:42:07 - 支援的產品 :
2022/6/14 下午 04:42:07 - Microsoft.VisualStudio.Community
2022/6/14 下午 04:42:07 - Version : [15.0,)
2022/6/14 下午 04:42:07 - ProductArchitecture : x86
2022/6/14 下午 04:42:07 - Microsoft.VisualStudio.Enterprise
2022/6/14 下午 04:42:07 - Version : [15.0,)
2022/6/14 下午 04:42:07 - ProductArchitecture : x86
2022/6/14 下午 04:42:07 - Microsoft.VisualStudio.Professional
2022/6/14 下午 04:42:07 - Version : [15.0,)
2022/6/14 下午 04:42:07 - ProductArchitecture : x86
2022/6/14 下午 04:42:07 - Microsoft.VisualStudio.Sql
2022/6/14 下午 04:42:07 - Version : [15.0,)
2022/6/14 下午 04:42:07 - ProductArchitecture : x86
2022/6/14 下午 04:42:07 -
2022/6/14 下午 04:42:07 - 參考 :
2022/6/14 下午 04:42:07 - 必要條件 :
2022/6/14 下午 04:42:07 - -------------------------------------------------------
2022/6/14 下午 04:42:07 - Identifier : Microsoft.VisualStudio.Component.Roslyn.LanguageServices
2022/6/14 下午 04:42:07 - Name : C# and Visual Basic
2022/6/14 下午 04:42:07 - Version : [15.0,)
2022/6/14 下午 04:42:07 -
2022/6/14 下午 04:42:07 - 簽章詳細資料...
2022/6/14 下午 04:42:07 - Extension is signed with an invalid timestamp.
2022/6/14 下午 04:42:07 -
2022/6/14 下午 04:42:07 - 找到已安裝的產品 - Visual Studio Professional 2022
2022/6/14 下午 04:42:07 - VSIXInstaller.NoApplicableSKUsException: 此擴充功能並未安裝在任何目前已安裝的產品上。
於 VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable1& skuData) 於 VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable1& skuData)
於 VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
於 VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
於 VSIXInstaller.App.Initialize(Boolean isRepairSupported)
於 VSIXInstaller.App.Initialize()
於 System.Threading.Tasks.Task`1.InnerInvoke()
於 System.Threading.Tasks.Task.Execute()
--- 先前擲回例外狀況之位置中的堆疊追蹤結尾 ---
於 Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

Thanks

Developer technologies | Visual Studio | Setup
Developer technologies | C#
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2022-06-16T02:54:22.467+00:00

    Hi @逸文 曾 ,

    Welcome to Microsoft Q&A!

    Please check Bruce’s reply.

    Meanwhile, you can find the root cause by checking the system requirements of Microsoft Visual Studio Tools for Applications 2019:

    Supported Microsoft Visual Studio version: Microsoft Visual Studio 2015 (Community Edition or above); Microsoft Visual Studio 2017 (Community Edition or above); or, Microsoft Visual Studio 2019 (Community Edition or above).

    It is not supported to install it in VS2022.

    Sincerely,
    Anna
    *
    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 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
    2022-06-14T14:59:36.847+00:00
    0 comments No comments

Your answer

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