forked from grandnode/grandnode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGrand.Web.csproj
51 lines (50 loc) · 2.88 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
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</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>
<MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish>
<TieredCompilation>true</TieredCompilation>
<RazorCompileOnBuild>false</RazorCompileOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
</ItemGroup>
<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>
<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>
<!--<FolderViews Include="Views/**/*" />-->
<ThemeViews Include="Themes/**/*" />
<!--<AdminViews Include="Areas/Admin/Views/**/*" />-->
<PluginFiles Include="Plugins/**/*" />
</ItemGroup>
<!--<Copy SourceFiles="@(FolderViews)" DestinationFolder="$(PublishDir)/Views/%(RecursiveDir)" SkipUnchangedFiles="true" />-->
<Copy SourceFiles="@(ThemeViews)" DestinationFolder="$(PublishDir)/Themes/%(RecursiveDir)" SkipUnchangedFiles="true" />
<!--<Copy SourceFiles="@(AdminViews)" DestinationFolder="$(PublishDir)/Areas/Admin/Views/%(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\**" />
</ItemGroup>
</Project>