-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimpleEffectsExample.csproj
More file actions
49 lines (41 loc) · 2.03 KB
/
SimpleEffectsExample.csproj
File metadata and controls
49 lines (41 loc) · 2.03 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>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Microsoft.NET.Test.Sdk would otherwise inject its own AutoGeneratedProgram.Main,
which conflicts with this project's Program.Main entry point. -->
<GenerateProgramFile>false</GenerateProgramFile>
</PropertyGroup>
<!-- Define FUNIT_ENABLED so [StepTest] inner classes are conditionally compiled
out of Release. -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DefineConstants>$(DefineConstants);FUNIT_ENABLED</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Flowthru" />
<PackageReference Include="Flowthru.FUnit" />
</ItemGroup>
<!-- NUnit + Test Sdk: only included in Debug so Release builds carry zero test
infrastructure. -->
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="NUnit" />
<PackageReference Include="NUnit.Analyzers" />
<PackageReference Include="NUnit3TestAdapter" />
<Using Include="NUnit.Framework" />
</ItemGroup>
<ItemGroup>
<None Update="Data/**/*" CopyToOutputDirectory="PreserveNewest" />
<None Update="appsettings.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<!-- In-repo dual-mode: swap Flowthru* PackageReferences for ProjectReferences,
register Core source generators. Skipped for template instantiations. -->
<Import Project="$(RepoRoot)build/FlowthruInRepoSwap.props"
Condition="'$(RepoRoot)' != '' AND Exists('$(RepoRoot)build/FlowthruInRepoSwap.props')" />
<!-- In-repo FUnit analyzer wiring. NuGet end-users get the same wiring auto-imported
from the Flowthru.FUnit package's build/ folder. -->
<Import Project="$(RepoRoot)build/FlowthruFUnit.props"
Condition="'$(RepoRoot)' != '' AND Exists('$(RepoRoot)build/FlowthruFUnit.props')" />
</Project>