Skip to content

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.

Include release optimization flags in global props

support3cc4e321d3da
diff --git a/src/Build/Grand.Common.props b/src/Build/Grand.Common.props
index d82d47648..470ab156a 100644
--- a/src/Build/Grand.Common.props
+++ b/src/Build/Grand.Common.props
@@ -8,6 +8,12 @@
<RepositoryUrl>https://github.com/grandnode/grandnode2</RepositoryUrl>
<PackageLicenseUrl>https://github.com/grandnode/grandnode2/blob/main/LICENSE</PackageLicenseUrl>
<RepositoryType>Git</RepositoryType>
+ <LangVersion>latest</LangVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
+ <DebugSymbols>false</DebugSymbols>
+ <DebugType>none</DebugType>
+ <Optimize>true</Optimize>
</PropertyGroup>
<ItemGroup>
<Using Include="System"/>