Commit 328e021
committed
Dependencies: run alias version-props transform during CI prepare
`DependencySource.CreateRestoredDependency(BuildContext, ParametrizedDependency, ...)`
is called from `VersionFile.TryRead` early in PrepareCommand, before
`DependenciesHelper.ResolveRestoredDependencies` (the existing transform site)
runs. For an aliased dep, TeamCity restores `{Name}.version.props` to
`dependencies/{Key}/`; Core then expects `{Key}.version.props` and crashed
with FileNotFoundException. Run the transform here so the CI prepare step
finds the file under the alias name.1 parent 25228a6 commit 328e021
1 file changed
Lines changed: 24 additions & 1 deletion
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
60 | 83 | | |
61 | 84 | | |
62 | 85 | | |
| |||
0 commit comments