Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

3.0 support #380

Closed
danmoseley opened this issue Apr 24, 2019 · 4 comments · Fixed by #385
Closed

3.0 support #380

danmoseley opened this issue Apr 24, 2019 · 4 comments · Fixed by #385
Milestone

Comments

@danmoseley
Copy link

I have only 3.0 preview4 installed.

C:\dotnet>dotnet tool install --global sourcelink
Since you just installed the .NET Core SDK, you will need to reopen the Command Prompt window before running the tool you installed.
You can invoke the tool using the following command: sourcelink
Tool 'sourcelink' (version '3.0.0') was successfully installed.
…
C:\dotnet>sourcelink
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
  - The following frameworks were found:
      3.0.0-preview4-27615-11 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The .NET Core frameworks can be found at:
  - https://aka.ms/dotnet-download

Is there a way to make it work on 3.0 (without requiring 2.1)

@danmoseley
Copy link
Author

ie, enable roll forward.

@ctaggart
Copy link
Owner

ctaggart commented Apr 24, 2019

There is a workaround to set the environment variable DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX=2. The fix is straight forward as well. See dotnet/Nerdbank.GitVersioning#326

dotnet/Nerdbank.GitVersioning#326

@ctaggart
Copy link
Owner

Just pushed 3.1.1

@danmoseley
Copy link
Author

Thanks!

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

Successfully merging a pull request may close this issue.

2 participants