Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
1.4 KiB

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>DistDemoApp</RootNamespace>
<DistDemoDbProvider>MongoDb</DistDemoDbProvider>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\framework\src\Volo.Abp.EventBus.Azure\Volo.Abp.EventBus.Azure.csproj" />
<ProjectReference Include="..\DistDemoApp.Shared\DistDemoApp.Shared.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(DistDemoDbProvider)' == 'MongoDb'">
<ProjectReference Include="..\DistDemoApp.Persistence.MongoDb\DistDemoApp.Persistence.MongoDb.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(DistDemoDbProvider)' == 'EntityFrameworkCore'">
<ProjectReference Include="..\DistDemoApp.Persistence.EntityFrameworkCore\DistDemoApp.Persistence.EntityFrameworkCore.csproj" />
</ItemGroup>
<PropertyGroup Condition="'$(DistDemoDbProvider)' == 'MongoDb'">
<DefineConstants>$(DefineConstants);DISTDEMO_USE_MONGODB</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(DistDemoDbProvider)' == 'EntityFrameworkCore'">
<DefineConstants>$(DefineConstants);DISTDEMO_USE_EFCORE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>