madskristensen / AddAnyFile

A Visual Studio extension
Apache License 2.0
262 stars 119 forks source link

VS crashes when adding file and folder with same name #54

Closed CTBT closed 3 years ago

CTBT commented 6 years ago

Installed product versions

Description

When i use this Extension Visual Studio crashes when i first add a new file and a new Folder with the same Name as the file.

Steps to recreate

  1. open the new file dialog(Shift+F2)
  2. type "test" to create a new file without extension
  3. open the new file dialog again
  4. type "test/" to create a new Folder with the name test

Current behavior

Visual Studio crashes

Expected behavior

Display an error message box. Visual Studio does the same when i try to do it with --> Add --> New Folder