我正在使用Yeoman在我的Visual Studio解决方案中创建新项目。我已经可以生成.csproj和源文件,但我无法找到在解决方案中注册项目的简单方法。
.sln文件不是XML,它们有自己的格式。我需要在文件的两个部分插入这样的内容:
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyCoolComponent", "\MyCoolComponent\code\MyCoolComponent.csproj", "{709C3622-1F4D-417C-9103-3882154ACBFD}"
EndProject
...
{709C3622-1F4D-417C-9103-3882154ACBFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{709C3622-1F4D-417C-9103-3882154ACBFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{709C3622-1F4D-417C-9103-3882154ACBFD}.Debug|x64.ActiveCfg = Debug|Any CPU
{709C3622-1F4D-417C-9103-3882154ACBFD}.Debug|x64.Build.0 = Debug|Any CPU
{709C3622-1F4D-417C-9103-3882154ACBFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{709C3622-1F4D-417C-9103-3882154ACBFD}.Release|Any CPU.Build.0 = Release|Any CPU
{709C3622-1F4D-417C-9103-3882154ACBFD}.Release|x64.ActiveCfg = Release|Any CPU
{709C3622-1F4D-417C-9103-3882154ACBFD}.Release|x64.Build.0 = Release|Any CPU
是否有NodeJS库可以帮助我修改.sln文件?