Public/Edit-WebProjectForAngular.ps1
<# .SYNOPSIS Assuming Visual Studio 2017.3, NodeJs/npm and Angular-cli installed and a VS solution produced by this tool, and a scaffolded web project was already created, Add angular web project to existing solution. .DESCRIPTION Will attempt to delete existing directory or halt if deletion fails. .PARAMETER name Name of the overall solution in upper camel case like "Zoo" or "ClassAction". Don't use "Solution" or "sln" as part of the name. .PARAMETER directory Defaults to current directory. Will create a solution folder inside this directory which is name parameter plus "Solution" .EXAMPLE C:\PS> New-Solution Zoo c:\code Creates a valid but empty Visual Studio solution c:\code\Zoo\ZooSolution\ZooSolution.sln .NOTES Author: Brian Woelfel Date: 2017/09/07 #> Function Edit-WebProjectForAngular() { [SolnInfo]$solnInfo = [SolnInfo]::Load() Edit-WebProjectForAngularPrivate $solnInfo $solnInfo.webCsprojInfo } |