Jump to content

Consistent editor errors


Acid81

Recommended Posts

The modbuddy file browser is kind of lame. I haven't seen the "marshaling" message on the left personally, but I get the one on the right all the time. I also get random doubling of the filenames, and other behavior. You would think commercial software should be able to handle file browsers correctly, since this technology has been well understood since, say, Windows 95.

 

Personally I do all my modifications from outside modbuddy except for telling it to add existing items. When it gets confused about file content, which happens pretty regularly, I use the modbuddy menu choice "close solution", then open the solution again and it is usually ok.

Link to comment
Share on other sites

Visual Studio's always been a bit finicky around this kind of stuff. I've honestly never seen the first msg, but the second one I've seen quite a bit. It usually means I've removed/deleted/renamed a file without then hitting Save All under the file menu.

 

Each time you change something about the left pane (moving files around, renaming them, deleting them) you're actually changing the project file (.x2proj file) and you need to save it. Not doing so can lead to some weird stuff happening, even if you save later; it can end up being "too late" if enough compound changes are stacked up confusing things.

 

Usually you can clear things up just hitting Save All. Try that first.

 

If that's not enough, you can peek at the project file: back up the .xproj file for your project then open it in a text editor (it's plaintext and readable) and search for the clause(s) (typically a <content> tag) containing the offending filename(s). Any files tracked by the project that you deleted shouldn't be in here anymore; if you renamed it in the editor, then failed to Save All, you might find that the old filename is in the project file. Bring it in line with what you see in the IDE (or vice versa) to get things back on track.

 

If you make changes to the project file outside of the IDE, tabbing back in will get you a message along the lines of "blahblah.xproj has changed outside; reload it?" You want to do that. :smile:

 

If it makes things worse, just restore the backup and give it another go.

 

And get in the habit of hitting Save All after any project level change!

Edited by serratemplar
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...