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.
 
 
 
 
 
 

39 lines
1.5 KiB

<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>DistDemoApp</RootNamespace>
<DistDemoDbProvider>MongoDb</DistDemoDbProvider>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\framework\src\Volo.Abp.Autofac\Volo.Abp.Autofac.csproj" />
<ProjectReference Include="..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc.Dapr.EventBus\Volo.Abp.AspNetCore.Mvc.Dapr.EventBus.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>