I have a program with which I am trying to switch to .NET Standard / Core. The command line interface for the library is built with the target structure netcoreapp1.0. I tried sending this to a tester (from a different OS) that only had .NET Core 1.1 installed. The program will not start and displays an error message:
The specified framework 'Microsoft.NETCore.App', version '1.0.1' was not found. - Check application dependencies and target a framework version installed at: /usr/share/dotnet/shared/Microsoft.NETCore.App - The following versions are installed: 1.1.0 - Alternatively, install the framework version '1.0.1'.
Is this expected? As I understand it, each version of Core / Standard was a strict superset of the previous one. Thus, I expected that a program aimed at 1.0 would still work on a system with 1.1, instead of being multi-purpose for each version of the installation.
More generally, how can I configure things so that I donβt have to worry about the user arriving later when only a newer version of .NET Core will not be able to run the program?
source share