【发布时间】:2021-08-24 15:17:59
【问题描述】:
我有一个由 3 个项目组成的 .net 解决方案
- myproject.Interfaces
- myproject.Models
- myproject.Core
当我在 myproject.Core 上创建 NuGet 时:
dotnet pack c:\Dev\myproject.Core.csproj -c Release
并尝试将其安装在另一个项目中
我缺少 .Models 和 .Interfaces。
有没有办法在 .Core NuGet 中包含 myproject.Models 和 myprojects.Interfaces?所以我必须在我的项目中只安装 .Core nuGet?
【问题讨论】:
标签: c# .net asp.net-core nuget nuget-package