프로젝트 파일에서 참조하고 싶지 않은 폴더를 업로드하는 방법을 알아 내려고하고 있습니다. "build"폴더는 webpack에서 생성 된 출력 단계입니다. 저도 같은 문제를 다른 스레드를 발견했습니다 이것은 내가 내 pubxml 파일의 끝에 추가 (시도한 것입니다 :프로젝트에서 참조하지 않는 포함 폴더?
<PropertyGroup>
<CopyAllFilesToSingleFolderForPackageDependsOn>
CustomCollectFiles;
$(CopyAllFilesToSingleFolderForPackageDependsOn);
</CopyAllFilesToSingleFolderForPackageDependsOn>
</PropertyGroup>
<Target Name="CustomCollectFiles">
<ItemGroup>
<_CustomFiles Include="..\build\**\*" />
<FilesForPackagingFromProject Include="%(_CustomFiles.Identity)">
<DestinationRelativePath>build\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
</FilesForPackagingFromProject>
</ItemGroup>
</Target>
어떤 MSDeploy의 DependsOn CopyAllFilesToSingleFolderFor