Referencing another project in .Net Core

前端 未结 2 1482
生来不讨喜
生来不讨喜 2021-02-07 12:32

I have 6 projects in a blank solution. I just want to reference a project to another. I have HomeController in Blog.Web projects. I want to access

2条回答
  •  我在风中等你
    2021-02-07 13:16

    Edit your MyProject.csproj file. And add a new ItemGroup or add your package into an existing ItemGroup. Here's example:

      
        
        
      
    

提交回复
热议问题