diff --git a/tests/rgen/Microsoft.Macios.Transformer.Tests/Microsoft.Macios.Transformer.Tests.csproj b/tests/rgen/Microsoft.Macios.Transformer.Tests/Microsoft.Macios.Transformer.Tests.csproj
index fc3daeaeddd0..212f16c981c5 100644
--- a/tests/rgen/Microsoft.Macios.Transformer.Tests/Microsoft.Macios.Transformer.Tests.csproj
+++ b/tests/rgen/Microsoft.Macios.Transformer.Tests/Microsoft.Macios.Transformer.Tests.csproj
@@ -7,8 +7,8 @@
false
- $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\..\..'))
- src/build/dotnet
+ $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\..\..\src'))
+ build/dotnet