1

Resolved

Preview tab on missing item shows dialog

description

In VS2012 when I click on missing item* in Solution Explorer dialog is thrown ( same as when I want to open file directly).

Expected behaviour (C#-like) would be just to inform user in status bar, but not to open the dialog.

missing item* - file at Project system, but not present at file system

comments

Zooba wrote Feb 19 at 5:04 PM

VS loads the file normally even for previews, which means they have some other flag that we don't pass along ourselves. We need to detect that we're trying to preview in private int FileDocumentManager.Open() and set the showMessage parameter of FileNode.IsFileOnDisk appropriately.

Zooba wrote Apr 25 at 12:21 AM

Fixed in 2.0 feature branch.