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

Upgrade dependencies #1237

Merged
merged 9 commits into from
Jul 19, 2018
Merged

Upgrade dependencies #1237

merged 9 commits into from
Jul 19, 2018

Conversation

david-driscoll
Copy link
Member

NOTE: These changes are required for the latest LSP library.

@@ -8,7 +8,7 @@ omnisharp-roslyn

OmniSharp-Roslyn is a .NET development platform based on [Roslyn](https://github.com/dotnet/roslyn) workspaces. It provides project dependencies and language syntax to various IDE and plugins.

OmniSharp-Roslyn is built with the [.NET Core SDK](https://dot.net/) on Windows and [Mono](http://www.mono-project.com/) on OSX/Linux. It targets the __net46__ target framework. OmniSharp requires __mono__ (>=5.2.0) if it is run on a platform other than Windows.
OmniSharp-Roslyn is built with the [.NET Core SDK](https://dot.net/) on Windows and [Mono](http://www.mono-project.com/) on OSX/Linux. It targets the __net461__ target framework. OmniSharp requires __mono__ (>=5.2.0) if it is run on a platform other than Windows.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are some of the new dependencies netstandard only (>1.3), or what was the reason for targeting net461?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to allow for netstandard2.0 loading and support. In addition https://github.com/OmniSharp/csharp-language-server-protocol is now netstandard2.0 (which is what caused me to start this separately)

Copy link
Member

@filipw filipw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent! was going to send the exact same PR soon so thanks for handling that! 😃

<PackageReference Update="Microsoft.AspNetCore.Hosting" Version="1.1.0" />
<PackageReference Update="Microsoft.AspNetCore.Http.Features" Version="1.1.0" />
<PackageReference Update="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.0" />
<PackageReference Update="McMaster.Extensions.CommandLineUtils" Version="2.2.4" />
Copy link
Member

@filipw filipw Jun 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice. got caught by surprise with this one the other day when upgrading another project - could not find the new version, only to discover it is not supported by MS anymore and this fork version should be used instead 😀

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net46</TargetFramework>
<TargetFramework>net461</TargetFramework>
<PlatformTarget>AnyCPU</PlatformTarget>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could have all the libs as netstandard2.0 and just keep the entry projects net461

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 on this!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be careful with this. There are known issues with netstandard2.0. I'd recommend sticking with net461 if there isn't a reason to switch.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technically there is no real reason - other than maybe when we publish Nuget packages there might be easier to consume as netstandard2.0. That said I think the only reason anyone would consume OmniSharp packages would be to build things for OmniSharp so it wouldn't matter anyway

logger.LogTrace(0, ex, message, args);
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Are these now in the forked CommandLine package?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they are finally part of Microsoft.Extensions.Logging, we can now use them since we moved from 1.1.0 to 2.1.1 aspnet/Logging#392

Copy link
Contributor

@DustinCampbell DustinCampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@filipw
Copy link
Member

filipw commented Jul 16, 2018

@DustinCampbell I pushed the change you mentioned into this branch to unblock this, as I'd really like to see this in - I think this should be good to merge now, cc: @david-driscoll

@david-driscoll
Copy link
Member Author

@filipw thanks I started on this the other day then git distracted by a :shipit: 😭

@david-driscoll david-driscoll merged commit 49ba7fd into master Jul 19, 2018
@filipw
Copy link
Member

filipw commented Jul 20, 2018

🎉👍

@filipw filipw deleted the update/extensions-2.1.0 branch July 20, 2018 04:43
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

Successfully merging this pull request may close these issues.

4 participants