Blog.Core/Blog.Core.Build.bat

20 lines
168 B
Batchfile
Raw Normal View History

2019-05-11 22:28:19 +08:00
2019-05-15 16:16:45 +08:00
@echo off
2021-08-24 15:21:25 +08:00
for /f "tokens=5" %%i in ('netstat -aon ^| findstr ":9291"') do (
2019-05-15 16:16:45 +08:00
set n=%%i
)
taskkill /f /pid %n%
2019-05-11 21:11:03 +08:00
dotnet build
2020-06-22 12:04:09 +08:00
cd Blog.Core.Api
2019-05-11 21:11:03 +08:00
2019-05-15 16:16:45 +08:00
2019-05-11 21:11:03 +08:00
dotnet run
cmd