SaturnFramework / Saturn.Cli

A dotnet CLI tool for Saturn projects providing code generation and scaffolding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotnet saturn commands fail

demirtasdev opened this issue · comments

dotnet saturn gen Book Books id:string title:string author:string throws the following exception :

System.IO.FileLoadException: Could not load file or assembly 'System.Threading, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at System.Console.get_Out()
   at Program.main(String[] argv)

dotnet --info

PS C:\Users\demir\dev\SaturnSample2\src\SaturnSample2> dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.1.511
 Commit:    f73782e44b

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.18362
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.511\

Host (useful for support):
  Version: 3.1.1
  Commit:  a1388f194c

.NET Core SDKs installed:
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.511 [C:\Program Files\dotnet\sdk]
  3.0.101 [C:\Program Files\dotnet\sdk]
  3.1.100 [C:\Program Files\dotnet\sdk]
  3.1.101 [C:\Program Files\dotnet\sdk]