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-view-save-and-configure-build-log-files.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,19 +12,19 @@ ms.workload:
12
12
---
13
13
# How to: View, save, and configure build log files
14
14
15
-
After you build a project in the Visual Studio IDE, you can view information about that build in the **Output** window. By using this information, you can, for example, troubleshoot a build failure.
15
+
After you build a project in the Visual Studio IDE, you can view information about that build in the **Output** window. By using this information, you can, for example, troubleshoot a build failure.
16
16
17
-
- For C++ projects, you can also view the same information in a *.txt* file that's created and saved automatically.
17
+
- For C++ projects, you can also view the same information in a log file that's created and saved when you build a project.
18
18
19
-
- For managed code projects, you can click in the build output window and press **Ctrl**+**S**. Visual Studio prompts you for a location to save the information from the **Output** window into a *.txt* file.
19
+
- For managed code projects, you can click in the build output window and press **Ctrl**+**S**. Visual Studio prompts you for a location to save the information from the **Output** window into a log file.
20
20
21
21
You can also use the IDE to specify what kinds of information you want to view about each build.
22
22
23
-
If you build any kind of project by using MSBuild, you can create a *.txt* file to save information about the build. For more information, see [Obtain build logs](../msbuild/obtaining-build-logs-with-msbuild.md).
23
+
If you build any kind of project by using MSBuild, you can create a log file to save information about the build. For more information, see [Obtain build logs](../msbuild/obtaining-build-logs-with-msbuild.md).
24
24
25
25
## To view the build log file for a C++ project
26
26
27
-
1. In **Windows Explorer** or **File Explorer**, open the following file: *\\...\Visual Studio \<Version\>\Projects\\<ProjectName\>\\<ProjectName\>\Debug\\<ProjectName\>.txt*
27
+
1. In **Windows Explorer** or **File Explorer**, open the following file (relative to the project root folder): *Release*\\<ProjectName>\>.Log* or *Debug\\<ProjectName\>.log*
28
28
29
29
## To create a build log file for a managed-code project
0 commit comments