-
Notifications
You must be signed in to change notification settings - Fork 676
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
Every time VS Code starts the terminal reports "installing c# dependencies" #5015
Comments
Same behaviour here, same versions. Annoying but harmless. |
I have the same problem when I upgrade to version 1.24.0 (C# Extension). |
There is a way to get rid of that message:
The reason seems to be how the new logic handles install. Now because of the "useModernNet" stuff, when the setting is set to false, the plugin would skip installing the new OmniSharp. But because it is a part of the dependency list, and the person did not include logic to remove it from the dependency list and still pass in the entire dependency list, so at every launch C# plugin would try to install it again, but then new logic would skip it, again. |
can i leave |
You can if you are not doing Unity development. See the README file regarding the change. |
This output window behavior is incredibly obnoxious. I see this every single time I open VSCode. It's good that |
Setting |
VS Code remembers what panel is opened, so you have to close it yourself. It has never popped up for me ever since. |
I can confirm this is also happening to me, and it's grating on my nerves. Especially since I primarily don't even use C#. |
Same here! I'm shaking and crying rn |
same here! Annoying :( |
Chiming in with the same issue and the same annoyance. I frequently debug programs in the terminal so I'd like it to actually stay on the tab I choose. |
This was resolved in #5041 |
Thank you, it is harmless yet annoying. Are there any words when this particular fix will be pushed out as a release and into VS Code? |
It has been fixed since the latest version of the extension. |
Released in 1.24.1 |
Issue Description
Every time VS Code starts the terminal reports "installing c# dependencies"
Steps to Reproduce
Install C# VS Code.
Expected Behavior
No terminal output.
Actual Behavior
Terminal opens and reports:
Logs
OmniSharp log
Starting OmniSharp server at 1/21/2022, 11:35:47 AM
Target: c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\Analyzers.sln
OmniSharp server started.
Path: c:\Users\gary.vscode\extensions\ms-dotnettools.csharp-1.24.0.omnisharp\1.38.0\OmniSharp.exe
PID: 6220
Starting OmniSharp on Windows 6.2.9200.0 (x64)
info: OmniSharp.Services.DotNetCliService
Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK
info: OmniSharp.Services.DotNetCliService
Using the 'dotnet' on the PATH.
info: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 2 MSBuild instance(s)
1: Visual Studio Build Tools 2019 16.11.32106.194 16.11.2 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin"
2: StandAlone 17.0.0 - "c:\Users\gary.vscode\extensions\ms-dotnettools.csharp-1.24.0.omnisharp\1.38.0.msbuild\Current\Bin"
[warn]: OmniSharp.CompositionHostBuilder
It looks like you have Visual Studio 2019 installed without .NET Core SDK support which is required by OmniSharp.
Try updating Visual Studio 2019 installation with .NET Core SDK to enable better MSBuild support.
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
MSBUILD_EXE_PATH environment variable set to 'c:\Users\gary.vscode\extensions\ms-dotnettools.csharp-1.24.0.omnisharp\1.38.0.msbuild\Current\Bin\MSBuild.exe'
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: StandAlone 17.0.0 - "c:\Users\gary.vscode\extensions\ms-dotnettools.csharp-1.24.0.omnisharp\1.38.0.msbuild\Current\Bin"
CscToolExe = csc.exe
CscToolPath = c:\Users\gary.vscode\extensions\ms-dotnettools.csharp-1.24.0.omnisharp\1.38.0.msbuild\Current\Bin\Roslyn
MSBuildExtensionsPath = c:\Users\gary.vscode\extensions\ms-dotnettools.csharp-1.24.0.omnisharp\1.38.0.msbuild
MSBuildToolsPath = c:\Users\gary.vscode\extensions\ms-dotnettools.csharp-1.24.0.omnisharp\1.38.0.msbuild\Current\Bin
info: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
info: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
info: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
info: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
info: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
info: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers'.
info: OmniSharp.Cake.CakeProjectSystem
Did not find any Cake files
info: OmniSharp.MSBuild.ProjectSystem
Detecting projects in 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\Analyzers.sln'.
info: OmniSharp.MSBuild.ProjectManager
Queue project update for 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\Analyzers\Analyzers.csproj'
info: OmniSharp.MSBuild.ProjectManager
Queue project update for 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\Linkify\Linkify.csproj'
info: OmniSharp.MSBuild.ProjectManager
Queue project update for 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\LinkifyTest\LinkifyTest.csproj'
info: OmniSharp.MSBuild.ProjectManager
Queue project update for 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\analyzerslib\AnalyzersLib.csproj'
info: OmniSharp.MSBuild.ProjectManager
Queue project update for 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\AnalyzersLibTest\AnalyzerTest.csproj'
info: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers'.
info: OmniSharp.Script.ScriptProjectSystem
Did not find any CSX files
info: OmniSharp.WorkspaceInitializer
Configuration finished.
info: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers' on host 6436.
info: OmniSharp.MSBuild.ProjectManager
Loading project: c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\Analyzers\Analyzers.csproj
info: OmniSharp.MSBuild.ProjectManager
Successfully loaded project file 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\Analyzers\Analyzers.csproj'.
info: OmniSharp.MSBuild.ProjectManager
Adding project 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\Analyzers\Analyzers.csproj'
info: OmniSharp.MSBuild.ProjectManager
Loading project: c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\Linkify\Linkify.csproj
info: OmniSharp.MSBuild.ProjectManager
Successfully loaded project file 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\Linkify\Linkify.csproj'.
info: OmniSharp.MSBuild.ProjectManager
Adding project 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\Linkify\Linkify.csproj'
info: OmniSharp.MSBuild.ProjectManager
Loading project: c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\LinkifyTest\LinkifyTest.csproj
info: OmniSharp.MSBuild.ProjectManager
Successfully loaded project file 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\LinkifyTest\LinkifyTest.csproj'.
info: OmniSharp.MSBuild.ProjectManager
Adding project 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\LinkifyTest\LinkifyTest.csproj'
info: OmniSharp.MSBuild.ProjectManager
Loading project: c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\analyzerslib\AnalyzersLib.csproj
info: OmniSharp.MSBuild.ProjectManager
Successfully loaded project file 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\analyzerslib\AnalyzersLib.csproj'.
info: OmniSharp.MSBuild.ProjectManager
Adding project 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\analyzerslib\AnalyzersLib.csproj'
info: OmniSharp.MSBuild.ProjectManager
Loading project: c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\AnalyzersLibTest\AnalyzerTest.csproj
info: OmniSharp.MSBuild.ProjectManager
Successfully loaded project file 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\AnalyzersLibTest\AnalyzerTest.csproj'.
info: OmniSharp.MSBuild.ProjectManager
Adding project 'c:\Users\gary\Dropbox\Private\Stories\Cygnus\analyzers\Analyzers\AnalyzersLibTest\AnalyzerTest.csproj'
info: OmniSharp.MSBuild.ProjectManager
Update project: Analyzers
info: OmniSharp.MSBuild.ProjectManager
Update project: Linkify
info: OmniSharp.MSBuild.ProjectManager
Update project: LinkifyTest
info: OmniSharp.MSBuild.ProjectManager
Update project: AnalyzersLib
info: OmniSharp.MSBuild.ProjectManager
Update project: AnalyzerTest
C# log
Installing C# dependencies...
Platform: win32, x86_64
Finished
Environment information
VSCode version: 1.63.2
C# Extension: 1.24.0
Dotnet Information
.NET SDK (reflecting any global.json): Version: 6.0.101 Commit: ef49f6213aRuntime Environment:
OS Name: Windows
OS Version: 10.0.22000
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\6.0.101\
Host (useful for support):
Version: 6.0.1
Commit: 3a25a7f1cc
.NET SDKs installed:
6.0.101 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
Visual Studio Code Extensions
The text was updated successfully, but these errors were encountered: