Hyphens in name using dotnet new breaks tasks.json tasks

When creating a new project using the command `dotnet new community-plugin --name TMP-COM-v14 --implementWidgetProvider` the Build task is broken when using `Shift+Command+P > Build`. Looking at the tasks.json many of the command translate to ""${workspaceFolder}${/}TMP_COM_v14.csproj" using underscores instead of hyphens. Not sure if it makes a difference but this is on OS X.