dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.44k stars 4.76k forks source link

Copy Activate.ps1 activate.sh from Asp.Net Core to .Net runtime to use before VS Code. #36930

Open jmaine opened 4 years ago

jmaine commented 4 years ago

Description

Copy these files below to the root of the .net runtime repository.

Configuration

This is to help develop the .Net runtime using VS Code like it is used in the same way for Asp.Net Core.

Dotnet-GitSync-Bot commented 4 years ago

I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label.

ghost commented 4 years ago

Tagging subscribers to this area: @ViktorHofer Notify danmosemsft if you want to be subscribed.

ViktorHofer commented 4 years ago

I don't see any reason why we would need these files to support VSCode? Test execution inside VS or VSCode should "just" work without any env var modification.

jmaine commented 4 years ago

@ViktorHofer, I have to use those files to get Omnisharp to load the *.csproj files correctly; otherwise, I cannot use the "find declaration" or "find all references" features that Omnisharp provides.

I am using the C# extension for VS Code provided by Microsoft.

ViktorHofer commented 4 years ago

I see, thanks for clarifying. Our goal is to deliver the desired experience without such "hacks". @Anipik is working on Intellisense support.

@jmaine can you provide repro steps so that we better understand what's currently broken in vscode? Thanks