-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSample.App.csproj
More file actions
43 lines (36 loc) · 1.66 KB
/
Sample.App.csproj
File metadata and controls
43 lines (36 loc) · 1.66 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<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>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\SampleDatabase\Sample.Database.sqlproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<OutputItemType>None</OutputItemType>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" />
<PackageReference Include="System.Security.Cryptography.Xml" />
</ItemGroup>
<Import Project="$(EfcptBuildRoot)JD.Efcpt.Build.targets" />
<!-- Run the efcpt pipeline for this sample app on every build when enabled -->
<Target Name="EfcptSamplePipeline"
AfterTargets="Build"
DependsOnTargets="EfcptResolveInputs;EfcptEnsureDacpacBuilt;EfcptStageInputs;EfcptComputeFingerprint;EfcptGenerateModels;EfcptAddToCompile"
Condition="'$(EfcptEnabled)' == 'true'">
<Message Text="EfcptSamplePipeline completed." Importance="High" />
</Target>
</Project>