Do you use ftp publishing?
It looks like a question with VS2017, and the status says another study.
From the stream:
ftp. .
,
- Properties\PublishProfiles.
- Visual Studio.
- .suo
- .
, , dotnet msbuild
dotnet build /p:DeployOnBuild=true /p:PublishProfile=FolderProfilemsbuild /p:DeployOnBuild=true /p:PublishProfile=FolderProfile