我在其他项目库中使用 Visual Studio 2015 和包含 ASP.NET Core Web 的项目。
前段时间,它不可能在项目之间(在 csproj 中)间接使用命名空间而没有引用。但是在 xproj 中,它可能在另一个项目中引用了访问命名空间,例如:
csproj Proj.Web > Proj.Business > Proj.Data Proj.Data 在 Proj.Web 中不可访问
相对
xproj Proj.Web > Proj.Business > Proj.Data Proj.Data 可在 Proj.Web 中访问
请问,如何模拟相同的行为,在 xproj 中的项目之间隔离层?
Tks