|
19 | 19 | <!-- Remove Flowthru PackageReferences --> |
20 | 20 | <PackageReference Remove="Flowthru" /> |
21 | 21 | <PackageReference Remove="Flowthru.Extensions.Python" /> |
| 22 | + <PackageReference Remove="Flowthru.Extensions.EFCore" /> |
22 | 23 | <PackageReference Remove="Flowthru.Misc.ML" /> |
23 | 24 |
|
24 | 25 | <!-- Add Flowthru ProjectReferences --> |
|
43 | 44 | to Flowthru.Extensions.Python get a ProjectReference to the local source instead. |
44 | 45 | We match on directory path so the condition is explicit, not inferred. |
45 | 46 | --> |
46 | | - <ItemGroup Condition="$(MSBuildProjectDirRelativePath.StartsWith('examples\starter\KedroIrisPython')) OR $(MSBuildProjectDirRelativePath.StartsWith('examples\starter\KedroSpaceflightsPython'))"> |
| 47 | + <ItemGroup Condition="$(MSBuildProjectDirRelativePath.Contains('KedroIrisPython')) OR $(MSBuildProjectDirRelativePath.Contains('KedroSpaceflightsPython'))"> |
47 | 48 | <ProjectReference Include="$(RepoRoot)src\extensions\Flowthru.Extensions.Python\Flowthru.Extensions.Python.csproj" /> |
48 | 49 | </ItemGroup> |
49 | 50 |
|
| 51 | + <ItemGroup Condition="$(MSBuildProjectDirRelativePath.Contains('SpaceflightsEFCore'))"> |
| 52 | + <ProjectReference Include="$(RepoRoot)src\extensions\Flowthru.Extensions.EFCore\Flowthru.Extensions.EFCore.csproj" /> |
| 53 | + </ItemGroup> |
| 54 | + |
50 | 55 | <!-- Special case for Flowthru.Tests.Common: also convert PackageReference but keep existing SourceGenerators ProjectReference --> |
51 | 56 | <ItemGroup Condition="'$(MSBuildProjectName)' == 'Flowthru.Tests.Common'"> |
52 | 57 | <PackageReference Remove="Flowthru" /> |
|
64 | 69 | </ItemGroup> |
65 | 70 |
|
66 | 71 | <ItemGroup Condition="($(MSBuildProjectDirRelativePath.StartsWith('examples')) OR $(MSBuildProjectDirRelativePath.StartsWith('tests'))) AND Exists('$(RepoRoot)src\core\Flowthru.FUnit\Flowthru.FUnit.csproj') AND '$(MSBuildProjectName)' != 'Flowthru.FUnit'"> |
67 | | - <!-- Replace PackageReference to Flowthru.FUnit with in-repo sources where applicable. |
68 | | - The Exists() on the PackageReference Remove above gates whether any replacement is needed. --> |
| 72 | + <!-- Replace PackageReference to Flowthru.FUnit with in-repo sources where applicable. --> |
| 73 | + <ProjectReference Include="$(RepoRoot)src\core\Flowthru.FUnit\Flowthru.FUnit.csproj" |
| 74 | + Condition="$(MSBuildProjectDirRelativePath.Contains('FUnit'))" /> |
69 | 75 | <ProjectReference Include="$(RepoRoot)src\core\Flowthru.FUnit.SourceGenerators\Flowthru.FUnit.SourceGenerators.csproj" |
70 | 76 | ReferenceOutputAssembly="false" |
71 | 77 | OutputItemType="Analyzer" |
|
0 commit comments