mac os x で dotnet run したい
brew install Caskroom/cask/dotnet
exec $SHELL -l
mkdir hoge
cd hoge
dotnet new -t web
dotnet restore
dotnet run
Project hello (.NETCoreApp,Version=v1.1) will be compiled because expected outputs are missing
Compiling hello for .NETCoreApp,Version=v1.1
/Users/amano/pj/cs/hello/project.json(5,30): warning NU1007: Dependency specified was Microsoft.NETCore.App >= 1.1.0-preview1-001153-00 but ended up with Microsoft.NETCore.App 1.1.0.
Compilation succeeded.
1 Warning(s)
0 Error(s)
Time elapsed 00:00:03.3512061
info: Microsoft.Extensions.DependencyInjection.DataProtectionServices[0]
User profile is available. Using '/Users/amano/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
Hosting environment: Production
Content root path: /Users/amano/pj/cs/hello
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
できた