diff options
author | 杨宇千 <crupest@outlook.com> | 2019-08-19 02:16:32 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-08-19 02:16:32 +0800 |
commit | 9f34d95a4074272d4876ff47429003d19f887ef5 (patch) | |
tree | e231638045ad2c1253d9fe834e3f9c357db8126c | |
parent | 501fe7b988dfbdea7a62f78cb50c1ac66d5f4a20 (diff) | |
download | timeline-9f34d95a4074272d4876ff47429003d19f887ef5.tar.gz timeline-9f34d95a4074272d4876ff47429003d19f887ef5.tar.bz2 timeline-9f34d95a4074272d4876ff47429003d19f887ef5.zip |
Fix the bug that default avatar file is not copied to publish directory.
-rw-r--r-- | Timeline/Timeline.csproj | 6 |
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" />
|