aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Dependency Alert - Razor Language Services

Open RasicN opened this issue 8 years ago • 16 comments

When trying to download the extension through Visual Studio I get an error that Razor Language Services must be installed, though as you can see it is!

image

RasicN avatar Mar 23 '18 16:03 RasicN

Hi,

Can you please confirm that this is on VS 15.7 preview 1 with the ASP NET and web development workload installed.

image

You can see this by opening the Visual Studio Installer and clicking on Modify

See also: https://github.com/aspnet/Blazor/issues/328

rynowak avatar Mar 23 '18 16:03 rynowak

I followed this step on getting started:

  • Install the latest preview of Visual Studio 2017 (15.7) with the Web development workload.

Which appears to be 15.7.0 preview 2.0 and did got the "Asp.Net and Web Development" module which is what I assumed Web development workload meant. I will try and get .Net Desktop Development but we may want to update the README to be more specific if that is the issue.

RasicN avatar Mar 23 '18 16:03 RasicN

Still not working :(

image

RasicN avatar Mar 23 '18 17:03 RasicN

When you try to install now is the failure the same?

I'm taking a look at rebuilding this with different metadata, you're the second person to report a problem installing.

rynowak avatar Mar 23 '18 17:03 rynowak

Yep same problem

On Fri, Mar 23, 2018, 12:19 PM Ryan Nowak [email protected] wrote:

When you try to install now is the failure the same?

I'm taking a look at rebuilding this with different metadata, you're the second person to report a problem installing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aspnet/Blazor/issues/339#issuecomment-375739049, or mute the thread https://github.com/notifications/unsubscribe-auth/AUJ1lic2Mtbhguww0ZIHvB6LYoeorNUsks5thS6kgaJpZM4S5AuF .

RasicN avatar Mar 23 '18 18:03 RasicN

OK thanks for the report on this. I'm rebuilding the VSIX to have a better set of dependencies. In the mean time could you do a repair of your VS install, and then I'll notify you when the new build is published.

rynowak avatar Mar 23 '18 19:03 rynowak

@RasicN - 15.7.10142 we've uploaded a new version and clarified the instructions https://marketplace.visualstudio.com/items?itemName=aspnet.blazor

Let us know if this fixes the issue!

rynowak avatar Mar 23 '18 21:03 rynowak

It has made it past the Razor Language Services requirement but now I am getting an error when it tries to install .Net.CoreSDK...

3/23/2018 6:32:17 PM - Install Error : Microsoft.VisualStudio.Setup.PackageFailureException: Package 'Microsoft.Net.Core.SDK' failed to install at Microsoft.VisualStudio.Setup.InstallOperation.Run(CancellationToken token) at Microsoft.VisualStudio.Setup.Engine.RunOperation(InstallOperation installOperation, CancellationToken token, ExecuteAction action, ITelemetryOperation telemetryOperation) at Microsoft.VisualStudio.Setup.Engine.RunCoreOperation(InstallOperation coreOperation, ExecuteAction action, ITelemetryOperation telemetryOperation, CancellationToken token) at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token) at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineInstall(InstallableExtensionImpl extension, Boolean installPerMachine, Boolean isPackComponent, IDictionary2 extensionsInstalledSoFar, List1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, IProgress1 progress, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion, IInstalledExtension& newExtension) at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, InstallFlags installFlags, IDictionary2 extensionsInstalledSoFar, List1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress1 progress, Version targetedVsVersion) at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion) at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp)

Going to try and re-install .Net Core SDK

RasicN avatar Mar 23 '18 23:03 RasicN

image

Is this the correct SDK version?

RasicN avatar Mar 23 '18 23:03 RasicN

It works for me with that version.

I had the same problem you had with "Razor Language Services", I did a repair on the preview from the installer and it start working.

jt2 avatar Mar 23 '18 23:03 jt2

Will give it a go.

RasicN avatar Mar 23 '18 23:03 RasicN

Yes, if you installed "Razor Language Services" from the VS gallery, you will need to repair. That extension is for a a very old version of VS and will break newer versions.

rynowak avatar Mar 24 '18 00:03 rynowak

Same thing after the repair. I will try from scratch tomorrow on a different PC. It could be the current machine I'm on. Windows 7 shouldn't matter should it?

RasicN avatar Mar 24 '18 01:03 RasicN

Thanks for your patience with this @RasicN

If you don't mind, try to capture an exact step by step of what you're doing when you install. That will help in case others run into the same kind of problem.

rynowak avatar Mar 24 '18 02:03 rynowak

Closing this because I think we've resolved all of the issues with installing the extension

rynowak avatar Apr 19 '18 01:04 rynowak

Guys I bought a new Laptop and I installed VS2017 Enterprise edition provided by my work. I tried to install the Blazor but I am getting erorr. I installed the .net core 2.2 and run VS2017. On my surface Blazor is running on 2.1 core. I attached the error I a getting here Capture . Thank you for your help

redar84 avatar Mar 23 '19 21:03 redar84