forked from grandnode/grandnode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGrand.Web.csproj
47 lines (47 loc) · 2.48 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
<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>
<PackageProjectUrl>https://grandnode.com/</PackageProjectUrl>
<DockerComposeProjectPath>..\docker-compose.dcproj</DockerComposeProjectPath>
<ServerGarbageCollection>false</ServerGarbageCollection>
<PreserveCompilationReferences>true</PreserveCompilationReferences>
<RazorCompileOnBuild>false</RazorCompileOnBuild>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Grand.Api\Grand.Api.csproj" />
<ProjectReference Include="..\Grand.Core\Grand.Core.csproj" />
<ProjectReference Include="..\Grand.Framework\Grand.Framework.csproj" />
<ProjectReference Include="..\Grand.Services\Grand.Services.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.2" />
</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\**\*.config;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>
</Project>