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

On Linux (debian 9) Intellisense not working for .cs file on ubuntu using latest-> v1.32.18 release's omnisharp-linux-x64.zip #1477

Closed
amarnath-mishra opened this issue Apr 29, 2019 · 1 comment

Comments

@amarnath-mishra
Copy link

I was trying to build the latest master first to get the omnisharp.exe, but was getting GitTools/GitVersion#1097 error while building it, tried this solution -> #1202 (comment) also, but still getting same error.

So, I decided to use the exe which i can get from last release through v1.32.18 (omnisharp-linux-x64.zip), but now even if my Lsp server is running, it is not giving any results if I am providing it .cs file with .csproj file in rootUri, while it is working with .csx.

I am running it with command:
mono /pathTo/OmniSharp.exe -lsp -s /pathTo/rootUri
and in rootUri folder, I have a file.cs/csx file and file.csproj file.
Content of file.csproj file-

<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration> <Platform Condition=" '$(Platform)' == '' ">x86</Platform> <OutputType>Exe</OutputType> <TargetFrameworkVersion>v4.7</TargetFrameworkVersion> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> <Optimize>true</Optimize> <OutputPath>bin\Release</OutputPath> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <ExternalConsole>true</ExternalConsole> <PlatformTarget>x86</PlatformTarget> </PropertyGroup> <ItemGroup> <Reference Include="System" /> </ItemGroup> <ItemGroup> <Compile Include="*" /> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> </Project>

@filipw
Copy link
Member

filipw commented Mar 25, 2022

I will close this as obsolete. Please open a new issue if this still happens with the latest OmniSharp build.

@filipw filipw closed this as completed Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants