sdk: Minimal console app unhandled FileNotFoundException
I installed the mac osx pkg installer from get.asp.net. I then created a very minimal hello world console app. I’ve ran dotnet restore
which appears to have run successfully. Then when I run dotnet run
I get this:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly ‘System.Console, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 47 (18 by maintainers)
Commits related to this issue
- Merge pull request #291 from eerhardt/RenameDepsJsonProperty Enable pack in the SDK by default. — committed to wli3/cli by eerhardt 8 years ago
Hey, seems like this bug is back:
I’m on El Capitan 10.11 and freshly installed the .NET Core SDK Installer linked in the readme.