Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 616 Bytes

File metadata and controls

24 lines (17 loc) · 616 Bytes
title NuGet Error NU5023
description NU5023 Error code
author mishra14
ms.author jodou
ms.date 8/8/2018
ms.topic reference
ms.reviewer anangaur
f1_keywords
NU5023

NuGet Error NU5023

The assets file produced by restore does not exist. Try restoring the project again. The expected location of the assets file is F:\project\obj\project.assets.json.

Issue

The project passed to the msbuild -t:pack does not contain an assets file in the obj directory.

Solution

Please run msbuild -t:restore operation on the project being packaged before running the pack operation.