Publishing a dotnet application that's already running
问题 I'm attempting to create a script to simplify the process of publishing a .NET Core website. I'm running into an issue when I run dotnet publish against an already running server. The server is IIS with the dotnet bundle installed, so IIS uses its app pool to start dotnet. Here's my batch file. I'm happy to use another script type: cd src/app dotnet build --no-incremental dotnet publish --framework netcoreapp1.0 --configuration Release --output ../../dist When I run the script I get this