Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="..\..\Build\Grand.Common.props" />
<PropertyGroup>
<!--The common language runtime (CLR) supports two types of garbage collection:
workstation garbage collection, which is available on all systems, and server garbage collection,
which is available on multiprocessor systems.
For single-processor computers, the default workstation garbage collection should be the fastest option.
Either workstation or server can be used for two-processor computers.
Server garbage collection should be the fastest option for more than two processors.
More details about GC you can see here: https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/fundamentals-->
<ServerGarbageCollection>true</ServerGarbageCollection>
<GarbageCollectionAdaptationMode>1</GarbageCollectionAdaptationMode>
<PreserveCompilationReferences>true</PreserveCompilationReferences>
<DockerComposeProjectPath>..\..\..\docker-compose.dcproj</DockerComposeProjectPath>
<UserSecretsId>a2091e37-94a0-4446-8a5d-1d5c0835333a</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<CompressionEnabled>false</CompressionEnabled>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Aspire\Aspire.ServiceDefaults\Aspire.ServiceDefaults.csproj" />
<ProjectReference Include="..\..\Business\Grand.Business.Core\Grand.Business.Core.csproj" />
<ProjectReference Include="..\..\Core\Grand.Domain\Grand.Domain.csproj" />
<ProjectReference Include="..\..\Core\Grand.Infrastructure\Grand.Infrastructure.csproj" />
<ProjectReference Include="..\..\Core\Grand.SharedKernel\Grand.SharedKernel.csproj" />
<ProjectReference Include="..\Grand.Web.Common\Grand.Web.Common.csproj" />
<ProjectReference Include="..\Grand.Web.Admin\Grand.Web.Admin.csproj" />
<ProjectReference Include="..\Grand.Web.Vendor\Grand.Web.Vendor.csproj" />
<ProjectReference Include="..\Grand.Web.Store\Grand.Web.Store.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="App_Data\**" CopyToPublishDirectory="PreserveNewest" Exclude="App_Data\appsettings.json;App_Data\DataProtectionKeys\*.xml;" />
<Content Include="Roslyn\**" CopyToPublishDirectory="PreserveNewest" Exclude="Roslyn\**\*.dll" />
<Content Remove="wwwroot\assets\images\thumbs\*.jpeg;wwwroot\assets\images\thumbs\*.jpg;wwwroot\assets\images\thumbs\*.png" />
</ItemGroup>
<Target Name="PublishViews" BeforeTargets="PrepareForPublish">
<ItemGroup>
<PluginFiles Include="Plugins/**/*" />
<ModuleFiles Include="Modules/**/*" />
</ItemGroup>
<Copy SourceFiles="@(PluginFiles)" DestinationFolder="$(PublishDir)/Plugins/%(RecursiveDir)" SkipUnchangedFiles="true" />
<Copy SourceFiles="@(ModuleFiles)" DestinationFolder="$(PublishDir)/Modules/%(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>
<Content Remove="Modules\**" />
<Compile Remove="Modules\**" />
<EmbeddedResource Remove="Modules\**" />
<None Remove="Modules\**" />
<Content Update="Modules\**">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>