This project is read-only.
1
Vote

Project folder for name with a dot

description

Spotted an issue where you create a vs project with a dot in the name like this:

new-item "dte:\solution\projects\myproj.test" -type classlibrary

The project created is myproj.test

but the proj folder is myproj

Thanks

comments

geoff_cross wrote Jun 17, 2015 at 12:26 PM

I've been having a look and suspect it might be this bit stripping off the it after the dot as it thinks it;s an extension:

var projectName = Path.GetFileNameWithoutExtension(path);

From

CodeOwls.StudioShell.Paths.SolutionProjectsNodeFactory.NewItem

Line 88

I reckon changing to GetFileName instead will work. Not managed to test it as I have missing dependencies on my machine.