|
-
Dec 31st, 2011, 09:41 AM
#1
C++ 2010 Problem
I recently downloaded Visual C++ 2010 Express Edition and found a weird bug. If the project path is too long, even with the simplest projects, and you compile it, it'll say Source File Not Found, and in the error will have '\...\...\...\...\...\...\my project path here. It doesn't matter how short the code is or what the code is. Could be a hello world app, doesn't matter. The only way it works is if you move the entire project to another location that has a shorter file path. But then you get another error message where its saying that the source file hasn't been found, and it lists the old path it originally was, thus forcing you to remove the cpp file and reopen it into your project and then it finally works. I never had this problem with C++ 2008 and was wondering if there's a way to fix this bug. Thanks in advance.
-
Jan 18th, 2012, 05:35 AM
#2
Re: C++ 2010 Problem
I have also experienced issues with long file paths in VS, so I have made it a habit to never place my projects in too many nested subfolders.
As for the issue with pointing to the old file after moving the project, that would only happen if the project file lists all source files by absolute path...something I believed that VS did not do. I will look at my projects when I get home from work!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|