LoginSignup
0
1

More than 5 years have passed since last update.

mac で microsoft dotnet をつかって webapp を scaffold する

Posted at

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.

できた

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1