-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSample.Data.csproj
More file actions
49 lines (41 loc) · 1.85 KB
/
Sample.Data.csproj
File metadata and controls
49 lines (41 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- EfcptBuildRoot for local development -->
<EfcptBuildRoot Condition="'$(EfcptBuildRoot)'==''">$(MSBuildThisFileDirectory)..\..\..\..\src\JD.Efcpt.Build\</EfcptBuildRoot>
</PropertyGroup>
<Import Project="$(EfcptBuildRoot)JD.Efcpt.Build.props" />
<PropertyGroup>
<EfcptEnabled>true</EfcptEnabled>
<EfcptLogVerbosity>diagnostic</EfcptLogVerbosity>
<EfcptDumpResolvedInputs>true</EfcptDumpResolvedInputs>
<!-- Split Outputs configuration -->
<EfcptSplitOutputs>true</EfcptSplitOutputs>
<EfcptModelsProject>..\Sample.Models\Sample.Models.csproj</EfcptModelsProject>
</PropertyGroup>
<!-- Reference to Models project with BuildReference="false" -->
<ItemGroup>
<ProjectReference Include="..\Sample.Models\Sample.Models.csproj">
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
<BuildReference>false</BuildReference>
</ProjectReference>
</ItemGroup>
<!-- Reference to SQL project for DACPAC generation -->
<ItemGroup>
<ProjectReference Include="..\..\SampleDatabase\Sample.Database.sqlproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<OutputItemType>None</OutputItemType>
</ProjectReference>
</ItemGroup>
<!-- EF Core dependencies for DbContext -->
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" VersionOverride="8.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" VersionOverride="8.0.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" VersionOverride="8.0.0" />
</ItemGroup>
<Import Project="$(EfcptBuildRoot)JD.Efcpt.Build.targets" />
</Project>