question

MairiauxPhilippe-6304 avatar image
0 Votes"
MairiauxPhilippe-6304 asked PrabhakarMishra-7519 commented

error when compiling a website form project

Hi

I can't compile (publish) a simple website form project.
In this file, i put all the steps i did.
i'm using Visual Studio 2019 version 46.9.5 and .Net framework 4.8.4.084
Thanks
The file: 107600-steps.pdf


vs-general
steps.pdf (192.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MairiauxPhilippe-6304 , welcome to Microsoft Q&A forum. Is there any diagnostic log that written in this tmp3DE2.tmp file( C:\Users\XXXXX\AppData\Local\Temp\tmp3DE2.tmp )?

0 Votes 0 ·

1 Answer

MairiauxPhilippe-6304 avatar image
0 Votes"
MairiauxPhilippe-6304 answered PrabhakarMishra-7519 commented


Here is it:
22/06/2021 18:19:12
System.AggregateException: One or more errors occurred. ---> Microsoft.WebTools.Shared.Exceptions.WebToolsException: Build failed. Check the Output window for more details.
--- End of inner exception stack trace ---
---> (Inner Exception #0) Microsoft.WebTools.Shared.Exceptions.WebToolsException: Build failed. Check the Output window for more details.<---

Microsoft.WebTools.Shared.Exceptions.WebToolsException: Build failed. Check the Output window for more details.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MairiauxPhilippe-6304 , thanks for your reply. Is there any other project in your solution? Please try to clean your project/solution and Build your project again then publish to see if this issue persists. Besides, please kindly test with a newly created project and let me know if this issue still appears.

0 Votes 0 ·

Open Visual studio as "Administrator" mode then try to publish your project.

0 Votes 0 ·