omnisharp

Fail OmniSharp MSBuild ProjectManager [duplicate]

时光怂恿深爱的人放手 提交于 2021-01-29 17:30:50
问题 This question already has answers here : OmniSharp.MSBuild.ProjectManager Failed to load project on Linux (3 answers) Closed 16 days ago . Note: I already search other similar question related to OmniSharp issue, could not find proper solution.Intellisense of vs code c# not working. I uninstall the c# extension and install again but it can not resolve my issue.I also install previous version of csharp 1.15.2 but it does not work. I attach my log info My dotnet --info is as follow .NET Core

C# - VS Code - launch:program … does not exist

谁说我不能喝 提交于 2021-01-27 05:34:21
问题 I am trying to debug a simple "Hello world" application in VS Code, however, when I press Ctrl + F5, it gives me the following error: If I manually change the path in launch.json from: ${workspaceFolder}/bin/Debug/insert-target-framework-here/insert-project-name-here.dll To: "${workspaceFolder}/bin/Debug/netcoreapp2.1/test.dll" It does work, however before it was working fine without me manually typing the path. Also, I have noticed that VS Code no longer asks to rebuild assets like it did

C# - VS Code - launch:program … does not exist

浪尽此生 提交于 2021-01-27 05:34:12
问题 I am trying to debug a simple "Hello world" application in VS Code, however, when I press Ctrl + F5, it gives me the following error: If I manually change the path in launch.json from: ${workspaceFolder}/bin/Debug/insert-target-framework-here/insert-project-name-here.dll To: "${workspaceFolder}/bin/Debug/netcoreapp2.1/test.dll" It does work, however before it was working fine without me manually typing the path. Also, I have noticed that VS Code no longer asks to rebuild assets like it did

Reference assemblies for framework “.NETFramework,Version=v4.7.1” were not found

心不动则不痛 提交于 2020-08-21 08:59:23
问题 I try to open a Unity3D project with VSCode under Linux (Ubuntu 18.10). The omnisharp extension doesn't load the project, saying assemblies were not found. It may seems very stupide, but i'm not really used to .Net yet, and i have been stuck with this error for quite some days now. I have been trying re-installing dotnet (even using the snap package), mono, vscode and the omnisharp extension. So any help is welcome ! :) Unity version : 2018.3.1f1 Logs : dotnet -- info .NET Core SDK

Visual Studio Code Breakpoint warning: The source code is different from the original version

时光毁灭记忆、已成空白 提交于 2020-05-14 18:06:48
问题 I'm very new to Visual Studio Code. I'm trying to debug an application that exists already that I've cloned via Git. None of my files are modified yet. I've downloaded the microsoft extension "C# for Visual Studio Code (powered by OmniSharp)". The application starts and it brings me to the home page (http://localhost:5000/). However it didn't stop at my breakpoints within startup.cs When I look at the application while its running instead of being a red bullet point its a hollow gray

OmniSharp.MSBuild.ProjectManager Attempted to update project that is not loaded:

孤者浪人 提交于 2020-03-18 04:30:28
问题 I started to develop Asp.net Core web API with the VS code. But when I typing the code Intellisense/Suggestions not working properly. I saw in some resource on the internet while they are typing using Microsoft. , EntityFrameworkCore showing as a suggestion. But In my case, it's not showing. In the OmniSharp log showing following error to me. Starting OmniSharp server at 4/5/2019, 3:37:16 PM Target: c:\Dotnet Core\NgWebApi OmniSharp server started. Path: C:\Users\Acer\.vscode\extensions\ms

Error in VS Code dotnet core C#: “The type or namespace name 'System' could not be found”, but build succeeds

*爱你&永不变心* 提交于 2020-02-26 06:46:56
问题 When trying to work with Visual Studio Code on a C# DotNet Core MVC application, I am having a lot of trouble getting visual studio code to work. It is having trouble finding anything related to C#, marking even 'Using System;' as invalid, saying it can't find it. However, when I run dotnet build, it succeeds with no warnings or errors and the project runs. My project.json: { "version": "1.0.0-*", "buildOptions": { "debugType": "portable", "emitEntryPoint": true }, "dependencies": {

Omnisharp in VS Code produces a lot of warnings about a Unity project. Why?

感情迁移 提交于 2020-02-25 04:34:19
问题 Omnisharp in VS Code produces a lot of warnings about a Unity project. Why? When I open a script in VS Code from a Unity Editor here is what I see: The Omnisharp produces warning. Here are a few of them: [warn]: OmniSharp.MSBuild.ProjectLoader The referenced project 'Unity.Timeline.Editor.csproj' does not exist. [warn]: OmniSharp.MSBuild.ProjectLoader The referenced project 'Unity.VSCode.Editor.csproj' does not exist. [warn]: OmniSharp.MSBuild.ProjectLoader The referenced project 'Unity

missing “System” reference on ubuntu and .net core 3.0

假如想象 提交于 2020-01-05 08:34:27
问题 I'm trying to develop a simple web app using .Net Core 3.0 on an Ubuntu machine. I setup the .Net Core SDK and the runtime from this link. I setup VS Code and then I create a project using the following commands dotnet new webapp -o RazorPagesMovie code -r RazorPagesMovie I built the project and it is working. But in VS Code, it shows the following error: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?) screenshot of vs code

Visual Studio Code Intellisense stopped to work on C# files

纵饮孤独 提交于 2020-01-04 09:36:29
问题 I realized that I can't use ctrl + . shortcut to import other C# classes. This shortcut works just fine for other file types like typescript. I have uninstalled and installed back again. I also installed old version of VS code too. But nothing worked. As I shown above, there is no import feature shows up when I do ctrl + . . Those are only the choices I was given. It's fine using without it but it's also annoying to import those files manually typed. 回答1: The C# language features in VS Code