Perform following actions to publish: right click on site->select publish->select 'Debug' profile. Publish work normally nad file copy to valid folder.
If select 'Release' profile i has succesfully output but files not copy to publish folder.
Output from Build:
1>------ Build started: Project: DXEmployeePortal, Configuration: Release Any CPU ------
1> DXEmployeePortal -> C:\Users\losev.mikhail\Desktop\!!!Work\InternalSoftware\DXEmployeePortal\DXEmployeePortal\bin\DXEmployeePortal.dll
2>------ Publish started: Project: DXEmployeePortal, Configuration: Release Any CPU ------
2>Connecting to C:\inetpub\wwwroot\ReleaseDXEmployeePortal...
2>Copying all files to temporary location below for package/publish:
2>obj\Release\Package\PackageTmp.
2>Publishing folder /...
2>
========== Build: 1 succeeded, 0 failed, 2 up-to-date, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
But into folder '/obj\Release\Package\PackageTmp\' site was normally builded