Blog.Core/CreateYourProject.bat
2021-04-02 15:38:11 +08:00

27 lines
476 B
Batchfile

color 5
echo "if u install template error,pls use:>>dotnet new -i .template.config\Blog.Core.Webapi.Template.2.5.2.nupkg"
color 3
dotnet new -i Blog.Core.Webapi.Template::2.5.3
set /p OP=Please set your project name(for example:Baidu.Api):
md .1YourProject
cd .1YourProject
dotnet new blogcoretpl -n %OP%
cd ../
echo "Create Successfully!!!! ^ please see the folder .1YourProject"
dotnet new -u Blog.Core.Webapi.Template
echo "Delete Template Successfully"
pause