- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My project disk drive changed from E: to D:. Everything compiles to the correct places on the D: drive but when trying to start the execution (Debug or release) it can't find the newly created executables. It looks for E:\.... and of course that doesn't exist. It must be something simple, but I can find no reference to E: anywhere in options or project files. Where does it set this path? All I can find is references to relative paths.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - nvaneck
My project disk drive changed from E: to D:. Everything compiles to the correct places on the D: drive but when trying to start the execution (Debug or release) it can't find the newly created executables. It looks for E:.... and of course that doesn't exist. It must be something simple, but I can find no reference to E: anywhere in options or project files. Where does it set this path? All I can find is references to relative paths.
Try deleting the (hidden) SolutionName.suo file from your solution directory. It contains debug target, breakpoint locations, bookmarks and similar stuff. It is known to go berzerk on occasion.
Link Copied
11 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Project >Properties > Debugging > Command. Look also at Linker > Output File.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
Project >Properties > Debugging > Command. Look also at Linker > Output File.
Yes, well I did that before I posted and it says:
$(OUTDIR)/MicrOsiris.exe
Which doesn't help me. As I said in the post, the files DO go in the correct directory. It's just that the debugger can't find the executable, thinking it's on a non-existent drive instead of where the linker put it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What does it say under Debugging > Command Line? That's where Visual Studio will look for the program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
What does it say under Debugging > Command Line? That's where Visual Studio will look for the program.
$(TargetPath)
but I can't find where it'svalue is set....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - nvaneck
It says:
$(TargetPath)
but I can't find where it'svalue is set....
$(TargetPath)
but I can't find where it'svalue is set....
Re-creating the project is the only way I've found to get around this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
$(TargetPath) is, as I understand it, taken from the Linker's output setting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
$(TargetPath) is, as I understand it, taken from the Linker's output setting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please attach the .vfproj file for yoiur project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - nvaneck
My project disk drive changed from E: to D:. Everything compiles to the correct places on the D: drive but when trying to start the execution (Debug or release) it can't find the newly created executables. It looks for E:.... and of course that doesn't exist. It must be something simple, but I can find no reference to E: anywhere in options or project files. Where does it set this path? All I can find is references to relative paths.
Try deleting the (hidden) SolutionName.suo file from your solution directory. It contains debug target, breakpoint locations, bookmarks and similar stuff. It is known to go berzerk on occasion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Jugoslav Dujic
Try deleting the (hidden) SolutionName.suo file from your solution directory. It contains debug target, breakpoint locations, bookmarks and similar stuff. It is known to go berzerk on occasion.
That's it! Thanks, Juroslav. Your suggesion was on the money. It does have the E: reference in it and deleting it fixed the problem
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