Skip to content

Commit f31e564

Browse files
authored
Reorder and update MSBuild error resolution section
1 parent 6622830 commit f31e564

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/msbuild/errors/msb4025.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ This article describes the MSB4025 error code.
2828

2929
This error occurs when MSBuild tries to load and parse a project, but the project file or MSBuild import file can't be loaded. The file must be an XML MSBuild file, such as a validly formatted project file, a `.props` or `.targets` file, or a file with any other extension that contains XML intended for interpretation by MSBuild.
3030

31-
## Resolution
32-
33-
If it's not obvious what imported file caused the problem, rerun the build with full diagnostic logs by using the `-verbosity:diag` command-line switch, and then check the MSBuild log file. For longer output logs on large projects, consider using the binary log `-bl` command-line switch with the [MSBuild Structured Log Viewer](https://msbuildlog.com/) to view the output more easily.
34-
3531
The standard output message text is followed by additional information from the operating system. Look to the additional information provided to determine the cause of the problem.
3632

3733
Here are some typical causes:
@@ -41,6 +37,10 @@ Here are some typical causes:
4137
- XML parsing errors in the project file.
4238
- The project file is open and locked by another program.
4339

40+
## Resolution
41+
42+
If it's not obvious what imported file caused the problem, rerun the build with full diagnostic logs by using the `-verbosity:diag` command-line switch, and then check the MSBuild log file. For longer output logs on large projects, consider using the binary log `-bl` command-line switch with the [MSBuild Structured Log Viewer](https://msbuildlog.com/) to view the output more easily.
43+
4444
## Applies to
4545

4646
All versions of MSBuild

0 commit comments

Comments
 (0)