You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/how-to-specify-build-events-visual-basic.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Build events are specified in the **Build Events** dialog box, available from th
54
54
:::moniker-end
55
55
56
56
> [!NOTE]
57
-
> Add a `call` statement before all post-build commands that run *.bat* files. For example, `call C:\MyFile.bat` or `call C:\MyFile.bat call C:\MyFile2.bat`.
57
+
> Add a `call` statement before all post-build commands that run `.bat` files. For example, `call C:\MyFile.bat` or `call C:\MyFile.bat call C:\MyFile2.bat`.
58
58
59
59
> [!NOTE]
60
60
> If your pre-build or post-build event does not complete successfully, you can terminate the build by having your event action exit with a code other than zero (0), which indicates a successful action.
@@ -63,7 +63,7 @@ MSBuild property names may be referenced in the scripts. The property is referen
63
63
64
64
## Example: How to change manifest information using a post-build event
65
65
66
-
The following procedure shows how to set the minimum operating system version in the application manifest using an *.exe* command called from a post-build event (the *.exe.manifest* file in the project directory). The minimum operating system version is a four-part number such as 4.10.0.0. To do this, the command will change the `<dependentOS>` section of the manifest:
66
+
The following procedure shows how to set the minimum operating system version in the application manifest using an `.exe` command called from a post-build event (the `.exe.manifest` file in the project directory). The minimum operating system version is a four-part number such as 4.10.0.0. To do this, the command will change the `<dependentOS>` section of the manifest:
67
67
68
68
```xml
69
69
<dependentOS>
@@ -161,9 +161,9 @@ The following procedure shows how to set the minimum operating system version in
When you build the project, this command will change the minimum operating system version in the application manifest to 5.1.2600.0.
164
+
When you build the project, this command changes the minimum operating system version in the application manifest to 5.1.2600.0.
165
165
166
-
The `$(TargetPath)` macro expresses the full path for the executable being created. Therefore, *$(TargetPath).manifest* will specify the application manifest created in the *bin* directory. Publishing will copy this manifest to the publishing location that you set earlier.
166
+
The `$(TargetPath)` macro expresses the full path for the executable being created. Therefore, *$(TargetPath).manifest* will specify the application manifest created in the *bin* directory. Publishing copies this manifest to the publishing location that you set earlier.
167
167
168
168
8. Publish the project again. Go to the **Publish** page and click **Publish Now**.
0 commit comments