WebVella/WebVella-ERP

Publish getting failed

Closed this issue · 5 comments

I am getting the error while deploying the publish. i am not getting any of the error while running the application

image

I also encountered the same problem. This file cannot be renamed, and there was an error when renaming it

If you change the directory name, there will be too many changes

Looking forward to resolving the issue

Hey, sorry for the late answer.
This is not an issue of the platform but a recent change Microsoft made and it has an easy fix. Check this thread
https://stackoverflow.com/questions/69919664/publish-error-found-multiple-publish-output-files-with-the-same-relative-path

  1. This file is not a document and must be output (you provided a regular file conflict)

  2. This file needs to be used during runtime after actual publication, so all subsequent directories need to use this file. Therefore, using SDK or WEB will cause another file to be unavailable

  3. I can place the same files from two libraries in different directories, such as the SDK in the Page directory and the Web in the root directory, which can solve the problem, but this is not the standard solution

Hey guys, the problem is easy solved by using configuration setting bellow in project file. Some people get an error, others not and this is related to problem with Microsoft changes and updates.

<PropertyGroup>
	<!-- solves build error duplicate files -->
	<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>