Commit f9d9b3e
Fix CLI test compilation error - construct assembly path dynamically
- Remove direct typeof(ProcessIdTask) reference that caused CS0234 error
- Construct path to Microsoft.Build.Engine.UnitTests.dll dynamically at runtime
- Use Assembly.GetExecutingAssembly().Location and Path.Combine
- Add necessary using statements (System.IO, System.Reflection)
- This avoids compile-time dependency on ProcessIdTask type
Co-authored-by: YuliiaKovalova <[email protected]>1 parent 52434d5 commit f9d9b3e
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
0 commit comments