Visual Studio Error: Publish has encountered an error. Build failed

on May 31, 2022 11:05 PM

Publish has encountered an error. Build failed. Check the Output window for more details.

A diagnostic log has been written to the following location:

Download FREE API for Word, Excel and PDF in ASP.Net: Download
on May 31, 2022 11:06 PM

I am searching on it, will get back to you as soon as possible.

on Jun 01, 2022 11:48 PM
on Jun 01, 2022 11:50 PM

Hi pradip.kalsar...,

Make sure Build + Intellisense is selected in the error window.

So that you can see errors.

Also check the output window of visual studio when publishing, read all lines to find any error.