Last post Apr 04, 2019 06:02 AM by Ackerly Xu
Apr 03, 2019 07:29 PM|jjobcorp|LINK
I made minor changes in my project using asp.net and published in VS2019. I received the following error
4/3/2019 11:52:21 AM
System.AggregateException: One or more errors occurred. ---> System.Exception: Build failed. Check the Output window for more details.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
---> (Inner Exception #0) System.Exception: Build failed. Check the Output window for more details.<---
I reopened the project in VS2017 and it published with no problem.
Apr 03, 2019 07:41 PM|mgebhard|LINK
I also moved to VS 2019 and do NOT have issues deploying. According to the error the build failed. Did you check the output window for more details as instructed by the error message? Perhaps start VS2019 as an Admin?
Apr 03, 2019 09:06 PM|jjobcorp|LINK
No detailed message on output window. This was the log that had the most details.
Apr 04, 2019 06:02 AM|Ackerly Xu|LINK
Hi jjobcorp ,
There is not enough information to solve the problem.
What project are use publishing? Webform?Asp.net MVC?Asp.net core?
What way do you publish your project?Ftp?Web deploy? or Local file system?
To show detailed error message , please chang the output verbosity to “Detailed”
Maybe you could try to publish your project using command line (had better use admin permission)
See also migration to vs 2019