Last login: Mon Dec 19 11:07:07 on ttys000
hufeis-MacBook-Pro:~ hufei$ mkdir hwapp
hufeis-MacBook-Pro:~ hufei$ cd hwapp
hufeis-MacBook-Pro:hwapp hufei$ dotnet new
Welcome to .NET Core!
---------------------
Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
Telemetry
--------------
The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include commandline arguments. The data is collected by Microsoft and shared with the community.
You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell.
You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry.
Configuring...
-------------------
A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once.
Decompressing 100% 2673 ms
Expanding 100% 7038 ms
Created new C# project in /Users/hufei/hwapp.
hufeis-MacBook-Pro:hwapp hufei$ dotnet restore
log : Restoring packages for /Users/hufei/hwapp/project.json...
log : Writing lock file to disk. Path: /Users/hufei/hwapp/project.lock.json
log : /Users/hufei/hwapp/project.json
log : Restore completed in 851ms.
hufeis-MacBook-Pro:hwapp hufei$ dotnet run
Project hwapp (.NETCoreApp,Version=v1.1) will be compiled because expected outputs are missing
Compiling hwapp for .NETCoreApp,Version=v1.1
Compilation succeeded.
0 Warning(s)
0 Error(s)
Time elapsed 00:00:01.2753862
Hello World!
hufeis-MacBook-Pro:hwapp hufei$
dotnet
最新推荐文章于 2024-09-13 15:47:50 发布