pragmatrix / tnt

Command line tool for organizing translation strings extracted from .NET assemblies. Supports Excel, XLIFF roundtrips and machine translations.
MIT License
30 stars 2 forks source link

Support tnt-cli on platforms without dotnet 2 installed #89

Closed pragmatrix closed 4 years ago

pragmatrix commented 4 years ago

If only dotnet 3 is installed, tnt will fail with the following error message:

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 [/Users/runner/hostedtoolcache/dotnet/shared/Microsoft.NETCore.App]

This PR fixes that by allowing tnt to be run on major version updates of dotnet core.