Solving first lesson - dotnet
After installing dotnet core 1.0.1 you can check it:
C:\dev\learningLLC\lesson1\dotnet>dotnet --version
1.0.1
You must create the new console solution. You can dot it easily using command line:
C:\dev\learningLLC\lesson1\dotnet>dotnet new console -o hellow
Getting ready...
Content generation time: 71,7361 ms
The template "Console Application" created successfully.
This command creates a new folder with an hello world console application:
C:\dev\learningLLC\lesson1\dotnet\hellow>dir
O volume na unidade C não tem nome.
O Número de Série do Volume é 906E-B7FE
Pasta de C:\dev\learningLLC\lesson1\dotnet\hellow
22/04/2017 11:41 <DIR> .
22/04/2017 11:41 <DIR> ..
22/04/2017 11:41 170 hellow.csproj
22/04/2017 11:41 176 Program.cs
2 arquivo(s) 346 bytes
2 pasta(s) 21.007.282.176 bytes disponíveis
Type "code ." on prompt and VS Code will open your project:
To execute, go back to prompt, restore and run:
C:\dev\learningLLC\lesson1\dotnet\hellow>dotnet restore
Restoring packages for C:\dev\learningLLC\lesson1\dotnet\hellow\hellow.csproj...
Generating MSBuild file C:\dev\learningLLC\lesson1\dotnet\hellow\obj\hellow.csproj.nuget.g.props.
Generating MSBuild file C:\dev\learningLLC\lesson1\dotnet\hellow\obj\hellow.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\dev\learningLLC\lesson1\dotnet\hellow\obj\project.assets.json
Restore completed in 1,08 sec for C:\dev\learningLLC\lesson1\dotnet\hellow\hellow.csproj.
NuGet Config files used:
C:\Users\Leo\AppData\Roaming\NuGet\NuGet.Config
C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
Feeds used:
https://api.nuget.org/v3/index.json
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
C:\dev\learningLLC\lesson1\dotnet\hellow>dotnet run
Hello World!
C:\dev\learningLLC\lesson1\dotnet>dotnet --version
1.0.1
You must create the new console solution. You can dot it easily using command line:
C:\dev\learningLLC\lesson1\dotnet>dotnet new console -o hellow
Getting ready...
Content generation time: 71,7361 ms
The template "Console Application" created successfully.
This command creates a new folder with an hello world console application:
C:\dev\learningLLC\lesson1\dotnet\hellow>dir
O volume na unidade C não tem nome.
O Número de Série do Volume é 906E-B7FE
Pasta de C:\dev\learningLLC\lesson1\dotnet\hellow
22/04/2017 11:41 <DIR> .
22/04/2017 11:41 <DIR> ..
22/04/2017 11:41 170 hellow.csproj
22/04/2017 11:41 176 Program.cs
2 arquivo(s) 346 bytes
2 pasta(s) 21.007.282.176 bytes disponíveis
Type "code ." on prompt and VS Code will open your project:
To execute, go back to prompt, restore and run:
C:\dev\learningLLC\lesson1\dotnet\hellow>dotnet restore
Restoring packages for C:\dev\learningLLC\lesson1\dotnet\hellow\hellow.csproj...
Generating MSBuild file C:\dev\learningLLC\lesson1\dotnet\hellow\obj\hellow.csproj.nuget.g.props.
Generating MSBuild file C:\dev\learningLLC\lesson1\dotnet\hellow\obj\hellow.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\dev\learningLLC\lesson1\dotnet\hellow\obj\project.assets.json
Restore completed in 1,08 sec for C:\dev\learningLLC\lesson1\dotnet\hellow\hellow.csproj.
NuGet Config files used:
C:\Users\Leo\AppData\Roaming\NuGet\NuGet.Config
C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
Feeds used:
https://api.nuget.org/v3/index.json
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
C:\dev\learningLLC\lesson1\dotnet\hellow>dotnet run
Hello World!
It's done!! Very good! Waiting for the second lesson! Thanks
ResponderExcluir