mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 15:38:28 +08:00
20 lines
168 B
Batchfile
20 lines
168 B
Batchfile
|
|
|
|
@echo off
|
|
for /f "tokens=5" %%i in ('netstat -aon ^| findstr ":9291"') do (
|
|
set n=%%i
|
|
)
|
|
taskkill /f /pid %n%
|
|
|
|
|
|
|
|
|
|
dotnet build
|
|
|
|
cd Blog.Core.Api
|
|
|
|
|
|
|
|
dotnet run
|
|
|
|
cmd |