简体   繁体   English

如何在 Linux 终端中列出添加到解决方案中的所有项目?

[英]How to list all projects added to a solution in Linux terminal?

In Ubuntu terminal I can add a project to a solution with the following:在 Ubuntu 终端中,我可以使用以下内容将项目添加到解决方案中:

dotnet sln add ./projectName/projectName.csproj

What command can I run in the terminal, to see all the projects that have been added?我可以在终端中运行什么命令来查看所有已添加的项目?

Use dotnet sln list .使用dotnet sln list If multiple solutions are present in folder - add solution name:如果文件夹中存在多个解决方案 - 添加解决方案名称:

dotnet sln SolutionName.sln list

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM