forked from grandnode/grandnode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Grand.Web.csproj
57 lines (57 loc) · 2.86 KB
/
Grand.Web.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Copyright>Copyright © UNIT-SOFT Sp. z o.o.</Copyright>
<Company>UNIT-SOFT Sp. z o.o.</Company>
<Authors>UNIT-SOFT Sp. z o.o.</Authors>
<Product>grandnode</Product>
<PackageProjectUrl>https://grandnode.com/</PackageProjectUrl>
<DockerComposeProjectPath>..\docker-compose.dcproj</DockerComposeProjectPath>
<ServerGarbageCollection>false</ServerGarbageCollection>
<PreserveCompilationReferences>true</PreserveCompilationReferences>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Grand.Domain\Grand.Domain.csproj" />
<ProjectReference Include="..\Grand.Core\Grand.Core.csproj" />
<ProjectReference Include="..\Grand.Framework\Grand.Framework.csproj" />
<ProjectReference Include="..\Grand.Services\Grand.Services.csproj" />
<ProjectReference Include="..\Grand.Api\Grand.Api.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="App_Data\**" CopyToPublishDirectory="PreserveNewest" Exclude="App_Data\appsettings.json;App_Data\DataProtectionKeys\*.xml;App_Data\Settings.txt;App_Data\InstalledPlugins.txt;" />
<Content Include="Themes\**" CopyToPublishDirectory="PreserveNewest" Exclude="Themes\**\*.cfg;Themes\**\*.cshtml" />
<Content Include="Roslyn\**" CopyToPublishDirectory="PreserveNewest" Exclude="Roslyn\**\*.dll" />
<Content Include="logs\**" CopyToPublishDirectory="PreserveNewest" />
<Content Remove="wwwroot\content\images\thumbs\*.jpeg;wwwroot\content\images\thumbs\*.jpg;wwwroot\content\images\thumbs\*.png" />
<Content Remove="wwwroot\bundles\*.css;wwwroot\bundles\*.js" />
</ItemGroup>
<Target Name="PublishViews" BeforeTargets="PrepareForPublish">
<ItemGroup>
<ThemeViews Include="Themes/**/*" />
<PluginFiles Include="Plugins/**/*" />
</ItemGroup>
<Copy SourceFiles="@(ThemeViews)" DestinationFolder="$(PublishDir)/Themes/%(RecursiveDir)" SkipUnchangedFiles="true" />
<Copy SourceFiles="@(PluginFiles)" DestinationFolder="$(PublishDir)/Plugins/%(RecursiveDir)" SkipUnchangedFiles="true" />
</Target>
<ItemGroup>
<Content Remove="Plugins\**" />
<Compile Remove="Plugins\**" />
<EmbeddedResource Remove="Plugins\**" />
<None Remove="Plugins\**" />
<Content Update="Plugins\**">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<None Update="Rotativa\Linux\wkhtmltopdf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Rotativa\Mac\wkhtmltopdf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Rotativa\Windows\wkhtmltopdf.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>