-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
I'm using the Targets Mode to start a powershell script that does the stuff i want (copying config files around, stopping (prebuild) and starting (postbuild) services.
.targets lookse like:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="Init">
<!--dirty hack to add a space inside the argument, otherwise the argument is not properly parsed, Trim it in the script!!-->
<Exec Command="C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File "$(SolutionDir)/Prebuild.ps1" "$(SolutionDir) " "$(TargetDir) "" />
</Target>
</Project>
The powershell scripts only use standard Powershell cmdlets (Write-Output, Copy-Item, Stop-Service and Start-Service)
This used to work very well with vssbe 0.12.7 but with 0.12.9 this seemed to stop working.
The scripts get executed as expected but it looks like after the postbuild target has run, visual studio waits for some output of vssbe as visual studio is completely unresponsive.
Reactions are currently unavailable