Skip to content

Commit fa2964d

Browse files
authored
Merge pull request #6349 from ghogen/build-issues1
improve log file info
2 parents e3d5d56 + e0b3ff9 commit fa2964d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/ide/how-to-view-save-and-configure-build-log-files.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ ms.workload:
1212
---
1313
# How to: View, save, and configure build log files
1414

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.
1616

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.
1818

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.
2020

2121
You can also use the IDE to specify what kinds of information you want to view about each build.
2222

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).
2424

2525
## To view the build log file for a C++ project
2626

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*
2828

2929
## To create a build log file for a managed-code project
3030

0 commit comments

Comments
 (0)