Skip to content
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

"Framework version 1.0.5 was not found" on current .NET Core docker image #743

Open
csboling opened this issue Mar 2, 2018 · 1 comment

Comments

@csboling
Copy link

csboling commented Mar 2, 2018

docker run --rm -it microsoft/dotnet bash
git clone https://github.com/storyteller/quickstarts
cd quickstarts/dotnet-cli
dotnet restore
dotnet storyteller

gives me

It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '1.0.5' was not found.
  - Check application dependencies and target a framework version installed at:
      /
  - Alternatively, install the framework version '1.0.5'.

and dotnet run gives

Invalid usage

 Usages for 'agent' (Used by dotnet storyteller to remote control the Storyteller specification engine)
  agent <port> [-s, --specs <specs>] [-y, --path <path>] [----prop:<prop> <value>] [-p, --profile <profile>] [-c, --culture <culture>] [-f, --fixtures <fixtures>]

etc., but the documentation suggests this should run all specifications in the console. Here is the output of dotnet --info on the image I happened to pull:

.NET Command Line Tools (2.1.4)

Product Information:
 Version:            2.1.4
 Commit SHA-1 hash:  5e8add2190

Runtime Environment:
 OS Name:     debian
 OS Version:  9
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /usr/share/dotnet/sdk/2.1.4/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.5
  Build    : 17373eb129b3b05aa18ece963f8795d65ef8ea54

What steps am I missing to get the quickstart example to work, or what .NET Core environments are currently supported?

@hastarin
Copy link

Not sure it will help but I noticed that instead of

dotnet run

you actually need

dotnet run -- run

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

No branches or pull requests

2 participants