2017-02-23 46 views
0

我有以下4項目結構:VSTS的NuGet打包任務 - 如何與所有相關的項目生成的DLL包含包

  1. 核心
  2. 基礎設施
  3. 船舶
  4. Ship.aspnet

當我從ship項目創建一個nuget包時,它應該包含所有依賴項目dll,即1,2和4.

當我創建指向ship項目的VSTS Nuget Packager任務時,它會生成* .ship nuget包。然而,當我使用這個軟件包時,編譯器會抱怨核心,基礎架構和ship.aspnet dll缺失。

謝謝。

+0

的[本]可能的複製(http://stackoverflow.com/questions/7486651/create-nuget-package-with-multiple-dlls)SO問題 –

回答

1

只包含-IncludeReferencedProjects參數。

enter image description here

相關問題