Skip to content

Update Dependencies #1509

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

Closed
wants to merge 2 commits into from
Closed

Update Dependencies #1509

wants to merge 2 commits into from

Conversation

ethomson
Copy link
Member

The current version of xunit's Visual Studio integration has been incredibly flaky on my machines. So far, the Xunit 2.3 betas have been much more stable. Now that there's a proper Xunit version, let's upgrade our dependencies to use it.

Xunit 2.3 now considers it an error to pass a integer type when a
enum was expected.
</ItemGroup>

<ItemGroup>
<PackageReference Update="Nerdbank.GitVersioning" Version="2.0.41" />
Copy link
Member

Choose a reason for hiding this comment

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

This is currently in the Directory.Build.props file, so we should either update that one entry, or remove it if we want it in the project files after all.

@@ -34,10 +34,14 @@

<ItemGroup>
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="[1.0.185]" PrivateAssets="contentFiles" />
<PackageReference Include="SourceLink.Create.GitHub" Version="2.2.0" PrivateAssets="all" />
<PackageReference Include="SourceLink.Create.GitHub" Version="2.5.0" PrivateAssets="all" />
<DotNetCliToolReference Include="dotnet-sourcelink-git" Version="2.2.0" />
Copy link
Member

Choose a reason for hiding this comment

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

The DotNetCliToolReference also needs to be bumped to 2.5.0.

<DotNetCliToolReference Include="dotnet-sourcelink-git" Version="2.2.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Nerdbank.GitVersioning" Version="2.0.41" />
Copy link
Member

Choose a reason for hiding this comment

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

Same as above. This is already in the Directory.Build.props file.

I'd say there's an argument that we don't need it there, since this is the only project that actually cares about the version, and having it in the props file means it applies to the test project as well.

If we do keep it here instead, the extra ItemGroup should be removed and it should go up with the other packages above. It also needs PrivateAssets="all" added.

@@ -34,10 +34,14 @@

<ItemGroup>
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="[1.0.185]" PrivateAssets="contentFiles" />
Copy link
Member

Choose a reason for hiding this comment

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

We should go ahead and build a new native binaries package that we can update to as well. 1.0.185 doesn't have all of the changes I made around support netstandard.

@bording
Copy link
Member

bording commented Nov 19, 2017

Superseded by #1511

@bording bording closed this Nov 19, 2017
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.

2 participants