编程语言
首页 > 编程语言> > 命令行下创建.net程序的方法

命令行下创建.net程序的方法

作者:互联网

PS C:\Users\XYX\Documents> mkdir practise


    目录: C:\Users\XYX\Documents


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       2019/11/15     15:52                practise


PS C:\Users\XYX\Documents> cd .\practise\
PS C:\Users\XYX\Documents\practise> ls
PS C:\Users\XYX\Documents\practise> dotnet new console
The template "Console Application" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on C:\Users\XYX\Documents\practise\practise.csproj...
  C:\Users\XYX\Documents\practise\practise.csproj 的还原在 74.71 ms 内完成。

Restore succeeded.

PS C:\Users\XYX\Documents\practise> dotnet run
Hello World!
PS C:\Users\XYX\Documents\practise>

 

 

 

标签:PS,Documents,Users,XYX,创建,命令行,dotnet,net,practise
来源: https://www.cnblogs.com/succewin/p/11867297.html