使用程序包管理器(nuget)时,如何使用非唯一名称定位特定项目?

时间:2021-10-18 23:12:22

I know about '-project' but what if I have multiple projects in my solution that have the same name? They're in different folders.

我知道'-project'但是如果我的解决方案中有多个具有相同名称的项目怎么办?他们在不同的文件夹中。

1 个解决方案

#1


0  

Use: Scaffold Controller FolderName\ProjectName

使用:脚手架控制器FolderName \ ProjectName

Also if you look in the Package Manager Console there is the dropdown for Default Project. If you click the dropdown you can see what each of your project names would be.

此外,如果您查看软件包管理器控制台,则会显示默认项目的下拉列表。如果单击下拉列表,则可以看到每个项目名称的内容。

#1


0  

Use: Scaffold Controller FolderName\ProjectName

使用:脚手架控制器FolderName \ ProjectName

Also if you look in the Package Manager Console there is the dropdown for Default Project. If you click the dropdown you can see what each of your project names would be.

此外,如果您查看软件包管理器控制台,则会显示默认项目的下拉列表。如果单击下拉列表,则可以看到每个项目名称的内容。