- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using VS2010 with Fortran Compiler XE 12. When I press F5 to begin a debug session the system completely rebuilds my project, even if there has not been any change to the source files. This just started yesterday. Previously it would only rebuild when necessary. I've looked for incorrect time stamps but can't find anything wrong.
Link Copied
15 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Close the solution. Try deleting the .u2d files from the project folder (they are hidden files so you may need to enable viewing hidden files in your Explorer view.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There was one .u2d file. I closed the solution, deleted the .u2d file, reopened the project and the problem remains. In addition to the problem I described, when I select Build the system always does a complete rebuild of all files even when nothing has changed. If I clean the project and then build, it can't find my .mod files, but if I build a second time it finds them. I recently changed time zones on my laptop while on a trip, but changed back a week ago.All of these problems started occurring yesterday.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think the compiler misses something in dependencies between your modules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, but I don't know how that would have changed. I used to know how to update dependencies, but I can't find that feature now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah, the time zone change probably did it. Does a Build > Clean help? As a last resort, remove all the source files from the project and then re-add them. There is no tool for updating the dependencies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting Steve Lionel (Intel)
Ah, the time zone change probably did it. Does a Build > Clean help? As a last resort, remove all the source files from the project and then re-add them. There is no tool for updating the dependencies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately, we can't - this information is maintained by Microsoft code. I have seen it myself and it is frustrating to deal with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Clean doesn't help. Neither does removing the source files and adding them again. After doing that it took three builds to get all the files compiled. Then it was back to the point where it requires a complete rebuild for every debug session. I wonder if I should uninstall VS2010 and/or the Fortran compiler and reinstall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reinstalling won't help. What happens if you create a new project and add the sources to it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried to duplicate the problem with a different but similar project and I couldn't, so I think it's something in my project files or settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I created a new project and added my source files to it. The same problems occur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are your sources or project on a network share? We've seen sometimes that this can trigger such problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, they are not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting tsimm
Clean doesn't help. Neither does removing the source files and adding them again. After doing that it took three builds to get all the files compiled....
Go looking for circular module dependencies - module A depends on B depends on A; and circular file dependencies - module in file A depends on module in file B depends on module in file A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That seems to be the problem. Thanks to everyone who responded.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page