简体   繁体   中英

Visual Studio 2019 doesn't include files after GIT Pull

After pulling down a project from GIT, I encountered an unusual behavior in Visual Studio 2019. All the projects associated with the solution loaded but none of the project files or folders were included. Clicking 'Show All Files' didn't resolve the issue. Shutting down and deleting the.vs folder didn't remedy the situation.

The culprit turned out that the GIT repository contained white space characters. Performing a pull URL encoded the path to the repository and included characters such as %20, 'In place of white space'. Visual Studio 19 doesn't approve of these characters in the directory. By removing the characters and reloading the project, all expected project files were also loaded.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM