- August 23, 2016 at 9:55 am #51581
Hi all I have written a PowerShell which will build the solution using devenv from PowerShell. Everything is working fine but what ever the errors I am getting while building from Visual Studio those errors I am unable to see in the log file, the only thing I am getting as ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
But not the actual errors, here is the sample script
$vsPath= (Get-Item 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe').GetValue($name) $parameters = """$SlnFile"" /Build development /project ""$SlnPath"" /out $logPath" Start-Process -FilePath $vsPath -ArgumentList $parameters -WaitAugust 23, 2016 at 10:44 am #51594
I do not see anything in the script that would cause the errors. Do you get the same results if you run the build command outside of the script?August 23, 2016 at 10:59 am #51597
I am building project of type "Analysis Services project file", The script is building fine what I need is when I process devenv I would like to log all the errors that occurred while building the same solution from Visual Studio.
You must be logged in to reply to this topic.