Closed inequation closed 1 year ago
Can I add my vote to this request also? I am running Visual Studio 2022 (Microsoft Visual Studio Community 2022 (2) (64-bit) - Current Version 17.4.3)?
When I try to install RustLanguageExtension.vsix, I get this message in the install log:
1/10/2023 12:03:00 PM - -------------------------------------------
1/10/2023 12:03:00 PM - Microsoft VSIX Installer
1/10/2023 12:03:00 PM - -------------------------------------------
1/10/2023 12:03:00 PM - Skipping product Microsoft.VisualStudio.Product.BuildTools (f998b78e) since it does not support extensions
1/10/2023 12:03:00 PM - Initializing Install...
1/10/2023 12:03:01 PM - Extension Details...
1/10/2023 12:03:01 PM - Identifier : RustLanguageExtension.5c010d5e-68dd-4c38-a7ca-c2ac3a8103fd
1/10/2023 12:03:01 PM - Name : Rust
1/10/2023 12:03:01 PM - Author : Daniel Griffen
1/10/2023 12:03:01 PM - Version : 0.4.6.41620
1/10/2023 12:03:01 PM - Description : Rust Extension for VS2017 with Language Server Support
1/10/2023 12:03:01 PM - Locale : en-US
1/10/2023 12:03:01 PM - MoreInfoURL :
1/10/2023 12:03:01 PM - InstalledByMSI : False
1/10/2023 12:03:01 PM - SupportedFrameworkVersionRange : [4.5,)
1/10/2023 12:03:01 PM - SignatureState : Unsigned
1/10/2023 12:03:01 PM - Supported Products :
1/10/2023 12:03:01 PM - Microsoft.VisualStudio.Community
1/10/2023 12:03:01 PM - Version : [15.0.27825.0,17.0)
1/10/2023 12:03:01 PM - ProductArchitecture : x86
1/10/2023 12:03:01 PM - References :
1/10/2023 12:03:01 PM - Prerequisites :
1/10/2023 12:03:01 PM - -------------------------------------------------------
1/10/2023 12:03:01 PM - Identifier : Microsoft.VisualStudio.Component.CoreEditor
1/10/2023 12:03:01 PM - Name : Visual Studio core editor
1/10/2023 12:03:01 PM - Version : [15.0,17.0)
1/10/2023 12:03:01 PM - Signature Details...
1/10/2023 12:03:01 PM - Extension is not signed.
1/10/2023 12:03:01 PM - Searching for applicable products...
1/10/2023 12:03:01 PM - Found installed product - Visual Studio Community 2022 (2)
1/10/2023 12:03:01 PM - Found installed product - Global Location
1/10/2023 12:03:01 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable1& skuData) at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable
1& skuData)
at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
I assume this is the problem: Skipping product Microsoft.VisualStudio.Product.BuildTools (f998b78e) since it does not support extensions??
I've managed to get it to work in VS2022 in my fork eventually: https://github.com/inequation/rls-vs2022/releases/tag/vs2022 But I'd actually advise against using it. You're better off using https://github.com/cchharris/VS-RustAnalyzer instead.
May I please request updating this extension to VS 2022? :) I've found it very useful in VS 2019, and I have no experience with extension development to do it myself.