PublishSingleFile=true does not include Content ... - GitHub
github.com › dotnet › sdkOct 18, 2019 · Hi @pinkfloydx33 for in the case of PublishSingleFile all published content is bundled into the single-file. If we need files to be left behind in the publish directory, we need to set the ExcludeFromSingleFile property. In your example: <Content Include="MyContentFile.txt"> <CopyToOutputDirectory>Always</CopyToOutputDirectory ...