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 remote for Core to package #46026

Closed
wants to merge 19 commits into from
Closed

Add remote for Core to package #46026

wants to merge 19 commits into from

Conversation

genlu
Copy link
Member

@genlu genlu commented Jul 16, 2020

How-to test change in this PR:

  1. Go here https://devdiv.visualstudio.com/DevDiv/_packaging?_a=feed&feed=VSIDE-RealSigned-Release%40Local, and search for “microsoft.servicehub.host.clr”. Download the host nuget package. The newest version of the package should be fine as long as you’re using a recent-ish build of VS. Unzip the package and under the tools directory, copy the coreClr directory to your VS install under Common7/ServiceHub/Hosts.

  2. Open Common7\ServiceHub\Hosts\coreClr\ServiceHub.Host.CLR.runtimeconfig.json, and change it to targeting 3.1
    {
    "runtimeOptions": {
    "tfm": "netcoreapp3.1",
    "framework": {
    "name": "Microsoft.NETCore.App",
    "version": "3.1.0"
    }
    }
    }

  3. Build this branch and deploy the vsix

  4. Set these environmental variables to control the behavior of Roslyn remote service:

RoslynServiceHubCore : set to no empty to use .net core servicehub
RoslynServiceHubCoreDebug : set to no empty to launch debugger and break before we start initializing remote service. This would help you debug
Launch VS, open a C# project and wait a bit for servicehub to spin-up.

Address #45535

Base automatically changed from master to main March 3, 2021 23:52
@genlu
Copy link
Member Author

genlu commented May 21, 2021

Replaced by #53571

@genlu genlu closed this May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant