-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathConsoleSample.csproj
More file actions
45 lines (39 loc) · 2.1 KB
/
ConsoleSample.csproj
File metadata and controls
45 lines (39 loc) · 2.1 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
<IsPackable>False</IsPackable>
<!-- Emit compiler generated files for debugging purposes -->
<CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<InterceptorsNamespaces>$(InterceptorsNamespaces);Foundatio.Mediator</InterceptorsNamespaces>
<!-- Foundatio generator options -->
<MediatorDefaultHandlerLifetime>None</MediatorDefaultHandlerLifetime>
<MediatorDisableInterceptors>false</MediatorDisableInterceptors>
<MediatorDisableOpenTelemetry>false</MediatorDisableOpenTelemetry>
</PropertyGroup>
<ItemGroup>
<CompilerVisibleProperty Include="MediatorDisableInterceptors" />
<CompilerVisibleProperty Include="MediatorDefaultHandlerLifetime" />
<CompilerVisibleProperty Include="MediatorDisableOpenTelemetry" />
<!-- Exclude the output of source generators from the compilation -->
<Compile Remove="$(CompilerGeneratedFilesOutputPath)/**/*.cs" />
<Content Include="$(CompilerGeneratedFilesOutputPath)/**/*.cs" />
</ItemGroup>
<Target Name="CleanCompilerGeneratedFiles" BeforeTargets="CoreGenerateSourceOutput;Clean">
<RemoveDir Directories="$(CompilerGeneratedFilesOutputPath)" />
</Target>
<ItemGroup>
<ProjectReference Include="..\..\src\Foundatio.Mediator.Abstractions\Foundatio.Mediator.Abstractions.csproj" />
<ProjectReference Include="..\..\src\Foundatio.Mediator\Foundatio.Mediator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.1" />
<PackageReference Include="MiniValidation" Version="0.9.2" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.0" />
<PackageReference Include="Scalar.AspNetCore" Version="1.2.3" />
</ItemGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
</Project>