多个_PublishedWebsites文件夹

fcu*_*112 5 visual-studio-code manjaro

我在Manjaro上使用VS Code并设置了一个包含2个项目,webapp和测试项目的解决方案.

每次我进行构建时,它都会生成一个新的_PublishedWebsites文件夹,其下面有NetCoreApp.我很惊讶没有其他人似乎遇到过这个问题.任何人都可以告诉我为什么会发生这种情况以及如何解决这个问题?

非常感谢.

在此输入图像描述

Dip*_*hah 0

您应该检查您的csproj文件,特别PublishDir是您指定的用于发布输出文件的位置的元素,并根据需要进行更改。

However, I think this is required behavior for .net core support in app harbor, find more details in the support webpage over here.