Downloads:

965

Downloads of v 1.37.3:

17

Last Update:

19 Oct 2020

Package Maintainer(s):

Software Author(s):

  • OmniSharp & .NET Foundation

Tags:

lsp ls .net dotnet dotnetcore asp.net mono foss ide

OmniSharp - Roslyn-based C# Language Server

1.37.3 | Updated: 19 Oct 2020

Downloads:

965

Downloads of v 1.37.3:

17

Maintainer(s):

Software Author(s):

  • OmniSharp & .NET Foundation

OmniSharp - Roslyn-based C# Language Server 1.37.3

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test


Validation Testing Passed


Verification Testing Exempt:

.NET Dependency requires restart.

To install OmniSharp - Roslyn-based C# Language Server, run the following command from the command line or from PowerShell:

>

To upgrade OmniSharp - Roslyn-based C# Language Server, run the following command from the command line or from PowerShell:

>

To uninstall OmniSharp - Roslyn-based C# Language Server, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade omnisharp -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade omnisharp -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure omnisharp installed
  win_chocolatey:
    name: omnisharp
    state: present
    version: 1.37.3
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'omnisharp' do
  action    :install
  version  '1.37.3'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: omnisharp,
    Version: 1.37.3,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller omnisharp
{
   Name     = 'omnisharp'
   Ensure   = 'Present'
   Version  = '1.37.3'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'omnisharp':
  provider => 'chocolatey',
  ensure   => '1.37.3',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install omnisharp version="1.37.3" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 19 Oct 2020.

Description

Build Status

Introduction

OmniSharp is a .NET development platform based on Roslyn workspaces. It provides project dependencies and C# language services to various IDEs and plugins.

OmniSharp is built with the .NET Core SDK on Windows and Mono on OSX/Linux. It targets the net472 target framework. For platforms other than Windows, OmniSharp ships with an embedded Mono which is based on version 5.18.0, includes MSBuild 16.3.0 and is provisioned during the build script. If Mono is globally installed on the system, OmniSharp will prefer it over the embedded version, however version >=6.4.0 is required (the lowest version with at least MSBuild 16.3.0).

Configuration

OmniSharp provides a rich set of hierarchical configuration options, controlled via startup arguments, environment variables and omnisharp.json file. For more details please visit the Configuration Options section of the wiki.

License

Copyright © .NET Foundation, and contributors.

OmniSharp is provided as-is under the MIT license. For more information see LICENSE.

.NET Foundation

This project is supported by the .NET Foundation.


legal\LICENSE.txt
MIT License

Copyright (c) .NET Foundation and Contributors All Rights Reserved

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Package can be verified like this:

1. Go to https://github.com/OmniSharp/omnisharp-roslyn, enter to releases and download from there.

   x32: https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.37.3/omnisharp-win-x86.zip
   x64: https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.37.3/omnisharp-win-x64.zip

   to download the zip files. You may wish to rename one of the files.

2. You can use one of the following methods to obtain the SHA512 checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'

   checksum: 699f2f318e9e2d39e436c8a1821d2b432735b396d8cc299cb7f36b78895881af1da1cb4d2b3982262f847e6e47929b6dd34526d5988c86899109e37562d4dbb2
   checksum64: 50c2e10d73b9fb8d3fd9794a9db76363534ba45df8514bc87be97e21545a79dd99a063ef908c0e00b847eacf2a91d95c6c110da027808efed0bf522583abff5f

File 'LICENSE.txt' obtained from:
   https://github.com/OmniSharp/omnisharp-roslyn/blob/v1.37.3/license.md
tools\chocolateyinstall.ps1
$ToolsPath = Split-Path $MyInvocation.MyCommand.Definition

$PackageArgs = @{
	PackageName = "omnisharp"
	FileFullPath = Get-Item $ToolsPath\*-win-x86*.zip
	FileFullPath64 = Get-Item $ToolsPath\*-win-x64*.zip
	Destination = $ToolsPath
}
Get-ChildItem $ToolsPath\* | Where-Object { $_.PSISContainer } | Remove-Item -Recurse -Force #remove older package dirs
New-Item -Type Directory $ToolsPath\MSBuild\ -EA 0
New-Item -ItemType file $ToolsPath\MSBuild\MSBuild.exe.ignore -EA 0
New-Item -Type Directory $ToolsPath\MSBuild\Roslyn\ -EA 0
New-Item -ItemType file $ToolsPath\MSBuild\Roslyn\csc.exe.ignore -EA 0
New-Item -ItemType file $ToolsPath\MSBuild\Roslyn\csi.exe.ignore -EA 0
New-Item -Type Directory $ToolsPath\refs\ -EA 0
New-Item -ItemType file $ToolsPath\refs\OmniSharp.exe.ignore -EA 0
New-Item -Type Directory $ToolsPath\.msbuild\ -EA 0
New-Item -Type Directory $ToolsPath\.msbuild\Current\ -EA 0
New-Item -Type Directory $ToolsPath\.msbuild\Current\Bin\ -EA 0
New-Item -Type Directory $ToolsPath\.msbuild\Current\Bin\Roslyn\ -EA 0
New-Item -ItemType file $ToolsPath\.msbuild\Current\Bin\Roslyn\csc.exe.ignore -EA 0
New-Item -ItemType file $ToolsPath\.msbuild\Current\Bin\Roslyn\csi.exe.ignore -EA 0
Get-ChocolateyUnzip @PackageArgs
Remove-Item $ToolsPath\*.zip -ea 0
tools\omnisharp-win-x64.zip
md5: 41CA0CBB1D63278F27A678C3BA1891DD | sha1: 8259E9467BA3A3EF554DD27C9656B4D03886DFE4 | sha256: 542841E6ECCAA3FF545BFA8778CB0CC4F4BEB5A6D2E55D5A9972E02DAB5ED993 | sha512: 50C2E10D73B9FB8D3FD9794A9DB76363534BA45DF8514BC87BE97E21545A79DD99A063EF908C0E00B847EACF2A91D95C6C110DA027808EFED0BF522583ABFF5F
tools\omnisharp-win-x86.zip
md5: 7D6EF2DFEEB6678AF17FDB577781E2CE | sha1: 70837C632AE6C244843C04007AB5FF76C5C24FD2 | sha256: AA2544E73A17760BF6699A7C0580610FC610D63A434CEB3CCF307A772AA365C6 | sha512: 699F2F318E9E2D39E436C8A1821D2B432735B396D8CC299CB7F36B78895881AF1DA1CB4D2B3982262F847E6E47929B6DD34526D5988C86899109E37562D4DBB2

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
OmniSharp - Roslyn-based C# Language Server 1.37.2 14 Wednesday, October 14, 2020 Approved
OmniSharp - Roslyn-based C# Language Server 1.37.1 34 Tuesday, September 29, 2020 Approved
OmniSharp - Roslyn-based C# Language Server 1.37.0 13 Tuesday, September 29, 2020 Approved
OmniSharp - Roslyn-based C# Language Server 1.36.1 9 Tuesday, September 29, 2020 Approved
OmniSharp - Roslyn-based C# Language Server 1.36.0 8 Tuesday, September 29, 2020 Approved
OmniSharp - Roslyn-based C# Language Server 1.35.4 9 Tuesday, September 29, 2020 Approved
OmniSharp - Roslyn-based C# Language Server 1.35.3 7 Tuesday, September 29, 2020 Approved
OmniSharp - Roslyn-based C# Language Server 1.35.2 8 Tuesday, September 29, 2020 Approved
OmniSharp - Roslyn-based C# Language Server 1.35.1 10 Tuesday, September 29, 2020 Approved

  • Fixed a bug when the server wouldn't start on MacOS/Linux when a username contained a space (PR: #1979)

  • Update to Mono 6.12.0 (PR: #1981)

  • Fix responsiveness regression with targeted DiagnosticWorker revert (#1982, #1983, PR: #1984)


Discussion for the OmniSharp - Roslyn-based C# Language Server Package

Ground Rules:

  • This discussion is only about OmniSharp - Roslyn-based C# Language Server and the OmniSharp - Roslyn-based C# Language Server package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or OmniSharp - Roslyn-based C# Language Server, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus