|
#1
|
|||
|
|||
So far so good the power shell is working now I will test the upgrade of my custom action later.
I did notice that from 2012 r2 to 2012 r2 I didnt change the setting none but still in v9 it worked. |
#2
|
|||
|
|||
Maybe that was fixed in PowerShell v4.
|
#3
|
|||
|
|||
I have upgraded to v9x and the Power Shell scripts are now working thanks.
I am seeing something unfamiliar with the new version. When I open a script without setting any breakpoints and close VB I see a .user file created. Whats that about? |
#4
|
|||
|
|||
In v9 by default, Visual Build remembers the previously selected steps when reopening a project (stored in the .user file). To prevent this, uncheck Tools | User Options | General | Remember selected steps when reopening projects. The .bld.user file will still be created if you set breakpoints in a project (same as with v8).
|
#5
|
|||
|
|||
Great thanks!
Getting back to the issue with Power shell, there is a field to override the path to the PS EXE is that necessary or should I leave that blank? In the help file it mentions a folder called Sysnative not sure what that means its not marked a a variable but I assume you mean System32 |
#6
|
|||
|
|||
Sysnative is only needed to call the 64-bit version of PowerShell from 32-bit Visual Build. Normally, you shouldn't need to override the path.
|
#7
|
|||
|
|||
Great thanks again!!
|
#8
|
|||
|
|||
Is there a way to globally set that user setting for remembering last selected items. We have a lot of Build Team members and I don't want that file creating for global shared scripts.
|
#9
|
|||
|
|||
You would need to create/update a DWORD registry value SelectLastStep at HKEY_CURRENT_USER\Software\Kinook Software\Visual Build Professional 9\Options with a value of 0, but in the latest build (VisBuildPro.exe 9.0.0.3), we've changed this setting to default to unchecked.
|
#10
|
|||
|
|||
OK I will just use the new version then thanks!
|
|
|