Build dwproj with devenv

Hi all I have written the following code to build my projects of type .dwproj

 $SolutionPath = "C:\MyProj\TestDW"
 $ProjectName = "TestDW"
 $CubeProject = Join-Path -Path $SolutionPath -ChildPath "$TestDW.dwproj"
 $vsPath= (Get-Item  'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe').GetValue($name)
 $parameters = """$CubeProject"" /Build development /out C:\log\test.log"
 Start-Process -FilePath $vsPath -ArgumentList $parameters -Wait

But this is building all the reference projects that are available, so how can I build only the particular project excluding all the references

Modified as follows and creating individual log able to achieve as per required

$parameters = """$SolutionFile"" /Build development /project ""$SlnFilePath"" /out $logPath"
$vsPath= (Get-Item  'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe').GetValue($name)
Start-Process -FilePath $vsPath -ArgumentList $parameters -Wait