Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes the MSB1009 error code.
Message text
MSB1009: Project file does not exist.
This error occurs when MSBuild is processing the command line, and it couldn't locate the project file.
First, verify that the project file exists, and that the path is correct. Then, check the syntax of the command line carefully, especially for problems with special characters.
If any switch contains filenames with spaces, the filename or entire switch and its arguments must be enclosed in quotes.
Check for mismatched quotes or unintended escape characters, such as backlashes. In some cases, special characters in command lines (for example, in filename or arguments to switches) must be escaped. Refer to the documentation for the specific command shell you're using for its handling of special characters and escapes.
Refer to the following documentation for certain command shells to see how they handle quotes and special characters:
The basic syntax for the MSBuild command line is MSBuild.exe [switches] [project file]
. Check each part of the command line, and all the switches against the expected syntax as documented at MSBuild command line reference.
Applies to
All versions of MSBuild