Visual studios try to publish the Web to remote desktops using FTP methods.
My project failed to publish, even though the build was successful when I pressed the Publish button.
The error message is shown below.
Publish has encountered an error.
Publishing failed due to build error. Check the error list for details.
A diagnostic log has been written to the following location: "C:\Users\MK\AppData\Local\Temp\tmpE058.tmp"
The type of tmp file changes every time.
I installed FTP normally on my remote desktop. Why not?
System.AggregateException : One or more errors occurred. --- > System.Exception : Failed to publish due to build error. Check the error list for details. --- End of internal exception stack trace --- Location : System.Threading.Task.Wattle.Wait (Int 32millisecondsTimeout, CancellationToken CancellationToken) Location : Microsoft.VisualStudio. Web. Publish.PublishService.v WebProjectPublish. < > __ DisplayClass 40 _ Location : System.Threading.Tasks_1.InnerInvoke () Location : System.Threading.Tasks.Execution () --- Stack tracking end of previous locations with throw exceptions --- Location : System.Time.CompilerServices.Task Awaiter.Thro wForNonSuccess Location : System.Time.CompilerServices.Task Awaiter.HandleNonSuccessAndDebuggerNotification Location:Microsoft.VisualStudio. ApplicationCapabilities.Publish.ViewModel.ProfileSelectorVierVodliv. --- > (Internal exception # 0) System.Exception : Failed to publish due to build error. Check the error list for details.< --- ===================