Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Razor EA to remote workspace #74465

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.ExternalAccess.AspNetCore.Internal.EmbeddedLanguages;
using Microsoft.CodeAnalysis.ExternalAccess.Razor;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.ServiceHub.Framework;
using Microsoft.VisualStudio.Composition;
Expand All @@ -25,6 +26,7 @@ internal class RemoteWorkspaceManager
MefHostServices.DefaultAssemblies
.Add(typeof(AspNetCoreEmbeddedLanguageClassifier).Assembly)
.Add(typeof(BrokeredServiceBase).Assembly)
.Add(typeof(RazorAnalyzerAssemblyResolver).Assembly)
.Add(typeof(RemoteWorkspacesResources).Assembly);

/// <summary>
Expand Down Expand Up @@ -105,7 +107,7 @@ private static RemoteWorkspace CreatePrimaryWorkspace()
/// the same <paramref name="solutionChecksum"/>). However, this is used by Pythia/Razor/UnitTesting which all
/// assume they can get that solution instance and use as desired by them.
/// </summary>
[Obsolete("Use RunServiceAsync (that is passsed a Solution) instead", error: false)]
[Obsolete("Use RunServiceAsync (that is passed a Solution) instead", error: false)]
public async ValueTask<Solution> GetSolutionAsync(ServiceBrokerClient client, Checksum solutionChecksum, CancellationToken cancellationToken)
{
var assetSource = new SolutionAssetSource(client);
Expand Down
Loading