-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathFoundatio.Mediator.Tests.csproj
More file actions
72 lines (64 loc) · 3.45 KB
/
Foundatio.Mediator.Tests.csproj
File metadata and controls
72 lines (64 loc) · 3.45 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);NU1510</NoWarn>
<!-- Emit compiler generated files for debugging purposes -->
<CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<!--Enable
interceptors for testing-->
<InterceptorsNamespaces>$(InterceptorsNamespaces);Foundatio.Mediator</InterceptorsNamespaces>
</PropertyGroup>
<ItemGroup>
<!-- 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>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
<PackageReference Include="xunit.v3.mtp-v2" Version="3.2.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.3" />
<PackageReference Include="Foundatio.Xunit.v3" Version="13.0.0-beta3.13" />
<PackageReference Include="GitHubActionsTestLogger" Version="3.0.1" PrivateAssets="All" />
<!-- Source generator verification & helpers -->
<PackageReference Include="Verify.XunitV3" Version="31.13.2" />
<PackageReference Include="Verify.DiffPlex" Version="3.1.2" />
<PackageReference Include="Verify.SourceGenerators" Version="2.5.0" />
<!-- Roslyn packages (use matching overrides to reduce conflicts) -->
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.3.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.3.0"
PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="5.3.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="5.3.0-2.25625.1"
PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference
Include="..\..\src\Foundatio.Mediator.Abstractions\Foundatio.Mediator.Abstractions.csproj" />
<ProjectReference Include="..\..\src\Foundatio.Mediator\Foundatio.Mediator.csproj"
OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<!-- Regular reference needed so tests can access generator types -->
<ProjectReference Include="..\..\src\Foundatio.Mediator\Foundatio.Mediator.csproj" />
</ItemGroup>
<ItemGroup>
<!-- ASP.NET Core framework reference needed for endpoint generation tests -->
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\src\Foundatio.Mediator.Abstractions\TopologicalSort.cs"
Link="Utility\TopologicalSort.cs" />
<Compile Remove="SourceGeneratorTestBase.cs" />
<None Include="SourceGeneratorTestBase.cs" Condition="Exists('SourceGeneratorTestBase.cs')" />
<None Update="BasicHandlerGenerationTests.GeneratesWrapperForSimpleHandler.verified.txt">
<ParentFile>BasicHandlerGenerationTests</ParentFile>
<DependentUpon>BasicHandlerGenerationTests.cs</DependentUpon>
</None>
</ItemGroup>
</Project>