|
9 | 9 | <Using Include="System.Windows.Forms" /> |
10 | 10 | <!-- |
11 | 11 | The core links DiffEngine's Inline sources, so InlinePatch and friends are in that namespace. |
12 | | - No alias needed here, unlike DiffEngineViewer.Tests: this project never references the real |
13 | | - DiffEngine assembly, so there is only one of each type in scope. |
14 | 12 | --> |
15 | 13 | <Using Include="DiffEngine" /> |
16 | 14 | <PackageReference Include="Verify.TUnit" /> |
|
21 | 19 | <PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" /> |
22 | 20 | <ProjectReference Include="..\DiffEngineViewer.Windows\DiffEngineViewer.Windows.csproj" /> |
23 | 21 | <!-- |
| 22 | + Aliased, exactly as DiffEngineViewer.Tests does it, and for the same reason: the viewer links |
| 23 | + DiffEngine's Inline sources rather than referencing them, so both assemblies declare a |
| 24 | + DiffEngine namespace and the shared fixtures name types that exist in each. |
| 25 | + Nothing here wants the engine's copies - this reference is what displaces the DiffEngine |
| 26 | + assembly Verify drags in transitively, which is where the second declaration came from. Verify |
| 27 | + 31 depended on a DiffEngine without the Inline types, so there was nothing to collide with and |
| 28 | + the reference could be left out; Verify 32 depends on one with them, and every unqualified |
| 29 | + InlinePatch became ambiguous. |
| 30 | + --> |
| 31 | + <ProjectReference Include="..\DiffEngine\DiffEngine.csproj" Aliases="engine" /> |
| 32 | + <!-- |
24 | 33 | Linked rather than shared through a helper package: the same fixtures back the ASCII snapshots, |
25 | 34 | so the WinForms baselines describe the same screens the text ones do. |
26 | 35 | --> |
|
0 commit comments