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.

Add Grand.Mapping project reference to multiple modules (#669)

Krzysztof Pajakce2390dfbaff
diff --git a/src/Modules/Grand.Module.Api/Grand.Module.Api.csproj b/src/Modules/Grand.Module.Api/Grand.Module.Api.csproj
index bc103b4bc..c1fc46b3d 100644
--- a/src/Modules/Grand.Module.Api/Grand.Module.Api.csproj
+++ b/src/Modules/Grand.Module.Api/Grand.Module.Api.csproj
@@ -12,7 +12,11 @@
<Private>False</Private>
<ExcludeAssets>runtime</ExcludeAssets>
</ProjectReference>
- <ProjectReference Include="..\..\Core\Grand.Infrastructure\Grand.Infrastructure.csproj">
+ <ProjectReference Include="..\..\Core\Grand.Mapping\Grand.Mapping.csproj">
+ <Private>False</Private>
+ <ExcludeAssets>runtime</ExcludeAssets>
+ </ProjectReference>
+ <ProjectReference Include="..\..\Core\Grand.Infrastructure\Grand.Infrastructure.csproj">
<Private>False</Private>
<ExcludeAssets>runtime</ExcludeAssets>
</ProjectReference>
diff --git a/src/Modules/Grand.Module.Installer/Grand.Module.Installer.csproj b/src/Modules/Grand.Module.Installer/Grand.Module.Installer.csproj
index c662309f3..0c2aa8bfd 100644
--- a/src/Modules/Grand.Module.Installer/Grand.Module.Installer.csproj
+++ b/src/Modules/Grand.Module.Installer/Grand.Module.Installer.csproj
@@ -18,6 +18,9 @@
<ProjectReference Include="..\..\Core\Grand.SharedKernel\Grand.SharedKernel.csproj">
<Private>False</Private>
</ProjectReference>
+ <ProjectReference Include="..\..\Core\Grand.Mapping\Grand.Mapping.csproj">
+ <Private>False</Private>
+ </ProjectReference>
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
diff --git a/src/Modules/Grand.Module.Migration/Grand.Module.Migration.csproj b/src/Modules/Grand.Module.Migration/Grand.Module.Migration.csproj
index 9da05d2eb..be1148574 100644
--- a/src/Modules/Grand.Module.Migration/Grand.Module.Migration.csproj
+++ b/src/Modules/Grand.Module.Migration/Grand.Module.Migration.csproj
@@ -17,6 +17,9 @@
<ProjectReference Include="..\..\Core\Grand.SharedKernel\Grand.SharedKernel.csproj">
<Private>False</Private>
</ProjectReference>
+ <ProjectReference Include="..\..\Core\Grand.Mapping\Grand.Mapping.csproj">
+ <Private>False</Private>
+ </ProjectReference>
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
diff --git a/src/Modules/Grand.Module.ScheduledTasks/Grand.Module.ScheduledTasks.csproj b/src/Modules/Grand.Module.ScheduledTasks/Grand.Module.ScheduledTasks.csproj
index 33725b7d6..6eae10918 100644
--- a/src/Modules/Grand.Module.ScheduledTasks/Grand.Module.ScheduledTasks.csproj
+++ b/src/Modules/Grand.Module.ScheduledTasks/Grand.Module.ScheduledTasks.csproj
@@ -9,6 +9,10 @@
<Private>False</Private>
<ExcludeAssets>runtime</ExcludeAssets>
</ProjectReference>
+ <ProjectReference Include="..\..\Core\Grand.Mapping\Grand.Mapping.csproj">
+ <Private>False</Private>
+ <ExcludeAssets>runtime</ExcludeAssets>
+ </ProjectReference>
<ProjectReference Include="..\..\Core\Grand.Infrastructure\Grand.Infrastructure.csproj">
<Private>False</Private>
<ExcludeAssets>runtime</ExcludeAssets>