Skip to content

Commit 4ff00f1

Browse files
Merge pull request #12992 from MicrosoftDocs/ghogen-patch-68
Add link to command reference
2 parents 7c8bc9f + 153a7b4 commit 4ff00f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ide/how-to-specify-build-events-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Use build events to specify commands that run before the build starts or after t
7070

7171
## Create the build event commands
7272

73-
The build event commands can include any command that is valid at a command prompt or in a *.bat* file. The name of a batch file should be preceded by `call` to ensure that all subsequent commands are executed. The batch file itself runs from the output folder, for example, `bin/Debug`. If you need the same batch file for all configurations, you could put it in the same folder as the project file and use a relative path to it, for example, `call ../../prebuild.bat`.
73+
The build event commands can include any command that is valid at a command prompt or in a *.bat* file. Available commands are documented in the [Windows command reference](/windows-server/administration/windows-commands/windows-commands). The name of a batch file should be preceded by `call` to ensure that all subsequent commands are executed. The batch file itself runs from the output folder, for example, `bin/Debug`. If you need the same batch file for all configurations, you could put it in the same folder as the project file and use a relative path to it, for example, `call ../../prebuild.bat`.
7474

7575
You can execute [PowerShell](/powershell/scripting/overview) scripts by entering a command like `PowerShell MyPowerShellScript.ps1`. The path to the PowerShell script may be absolute, or may be relative to the project directory. You would need to make sure that the execution policy for PowerShell scripts on your operating system is set appropriately in order to run the script. See [About execution policies](/powershell/module/microsoft.powershell.core/about/about_execution_policies).
7676

0 commit comments

Comments
 (0)