Skip to content

Web Deploy error "file not found" #6973

Closed Answered by volkanceylan
qtec-tm asked this question in Help
Discussion options

You must be logged in to vote

It is an issue with ASP.NET Core static web assets, and a chicken-egg situation. Your project must be built, and esbuild runned successfully before publishing. Otherwise, some files which were available before the build starts, might not be there before the build ends (as esbuild is run) so static web assets calculation is getting confused. They are not static web assets actually, but as it thinks everything under wwwroot are static web assets, it raises such errors. You may ignore it for now, or build first, run tsbuild, then publish.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by qtec-tm
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@qtec-tm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants