I found the solution. After building the solution with msbuild, just run msbuild again, but this time with some parameters that I found in web and here, Publish a Web Application from the Command Line to copy files mentioned in csproj to a destination folder. In these step are needed to copy also all dll files in bin folder because of some dependencies, for last run aspnet_compiler.
Above are a simple example of commands.
>msbuild.exe D:\proj\solution.sln
>msbuild.exe "D:\proj\webproj\proj.csproj" /t:_CopyWebApplication /p:OutDir="D:\proj\tmpFolder" /p:WebProjectOutputDir="D:\proj\tmpFolder"
>xcopy "D:\proj\webproj\bin" "D:\proj\tmpFolder\bin" /I /S /Y
>aspnet_compiler.exe -v / -p "D:\proj\tmpFolder" -d "D:\publishFolder"
I hope this can help someone.