Blog.Core/CreateYourProject.bat

27 lines
476 B
Batchfile
Raw Normal View History

2020-12-29 15:26:47 +08:00
color 5
echo "if u install template error,pls use:>>dotnet new -i .template.config\Blog.Core.Webapi.Template.2.5.2.nupkg"
2019-05-29 15:14:04 +08:00
2020-12-29 15:26:47 +08:00
color 3
2021-04-02 15:38:11 +08:00
dotnet new -i Blog.Core.Webapi.Template::2.5.3
2019-09-15 09:58:55 +08:00
2019-09-16 15:44:29 +08:00
set /p OP=Please set your project name(for example:Baidu.Api):
2019-05-29 15:14:04 +08:00
md .1YourProject
cd .1YourProject
dotnet new blogcoretpl -n %OP%
cd ../
2019-09-15 09:58:55 +08:00
echo "Create Successfully!!!! ^ please see the folder .1YourProject"
2019-05-29 15:14:04 +08:00
dotnet new -u Blog.Core.Webapi.Template
2019-09-15 09:58:55 +08:00
echo "Delete Template Successfully"
2021-04-02 15:38:11 +08:00
pause