aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-08-19 02:16:32 +0800
committer杨宇千 <crupest@outlook.com>2019-08-19 02:16:32 +0800
commit89e6f53c0684ff94746643fbeca8648c7538bbc5 (patch)
treee231638045ad2c1253d9fe834e3f9c357db8126c
parent6b7fde00f317cca53fb1675e0ccddd863b0962b2 (diff)
downloadtimeline-89e6f53c0684ff94746643fbeca8648c7538bbc5.tar.gz
timeline-89e6f53c0684ff94746643fbeca8648c7538bbc5.tar.bz2
timeline-89e6f53c0684ff94746643fbeca8648c7538bbc5.zip
Fix the bug that default avatar file is not copied to publish directory.
-rw-r--r--Timeline/Timeline.csproj6
1 files changed, 6 insertions, 0 deletions
diff --git a/Timeline/Timeline.csproj b/Timeline/Timeline.csproj
index 3855e0d1..d414ab2f 100644
--- a/Timeline/Timeline.csproj
+++ b/Timeline/Timeline.csproj
@@ -7,6 +7,12 @@
</PropertyGroup>
<ItemGroup>
+ <Content Include="default-avatar.png">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </Content>
+ </ItemGroup>
+
+ <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.2.3" />