← 返回卷宗
編程筆記

asp.net core 在 linux 不能正確加載 NUGET_PACKAGES的解決

asp.net core 執行時遇到Error "path1 cannot be null"錯誤時,與NUGET_PACKAGES有關,可加入環境變量。

env=NUGET_PACKAGES=/root/.nuget/packages

env=NUGET_HTTP_CACHE_PATH=/root/.local/share/NuGet/v3-cache

本文由 三符道長 撰於 2017年7月21日。轉載請註明出處。