Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Support .NET Core 3.x for Codecov.Tool #95

Closed
lkurzyniec opened this issue Dec 17, 2019 · 7 comments
Closed

Support .NET Core 3.x for Codecov.Tool #95

lkurzyniec opened this issue Dec 17, 2019 · 7 comments
Milestone

Comments

@lkurzyniec
Copy link

I've just moved my app to .NET Core 3.1 (which is LTS). I switched my CI from dotnet 2.2 to dotnet 3.1 and received such error:

$ $HOME/.dotnet/tools/codecov -f ./test/CoverageResults/coverage.opencover.xml -t $CODECOV_TOKEN
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
  - The following frameworks were found:
      3.1.0 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.1.0&arch=x64&rid=ubuntu.16.04-x64
The command "$HOME/.dotnet/tools/codecov -f ./test/CoverageResults/coverage.opencover.xml -t $CODECOV_TOKEN" exited with 150.

Full details here: https://travis-ci.com/lkurzyniec/netcore-boilerplate/jobs/268203227

@AdmiringWorm AdmiringWorm changed the title Support .NET Core 3.1 Support .NET Core 3.x for Codecov.Tool Dec 19, 2019
AdmiringWorm added a commit that referenced this issue Dec 19, 2019
@AdmiringWorm
Copy link
Collaborator

Thank you for opening this issue.

I have added support for 3.x in the repository source, however I do not expect to make a new release anytime soon.
In the meantime you can grab the latest pre-release with this change from the appveyor server with the following command:

dotnet tool install -g Codecov.Tool --add-source "https://ci.appveyor.com/nuget/codecov-exe" --version "1.10.0-unstable0001"

@lkurzyniec
Copy link
Author

Got it. Thx!

@jetersen
Copy link

@AdmiringWorm you say you don't plan to release anytime soon?
Any timeframe?

The changes so far seems very minor: https://github.com/codecov/codecov-exe/compare/develop to add support for dotnet 3.x

@AdmiringWorm
Copy link
Collaborator

@Casz no, I do not have any timeframe.
The only thing I can say for sure is that it won't be until at least after new year.

@AdmiringWorm AdmiringWorm added this to the 1.10.0 milestone Jan 29, 2020
@AdmiringWorm
Copy link
Collaborator

This have now been assigned to the next release, which I hope to be able to create some time later this week.

@AdmiringWorm
Copy link
Collaborator

@lkurzyniec @Casz version 1.10.0 was just released now, and support for .NET Core 3.x have been added to the Codecov.Tool package.

@jetersen
Copy link

jetersen commented Feb 1, 2020

Many thanks 🙇

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants