简体   繁体   中英

The build restored NuGet packages. Build the project again to include these packages in the build

Error:

The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568

I get this error while building code in Visual Studio 2017. As a workaround I have to clean the code and build again. Then I don't see this error. Every time O build this error comes back. I have to clean first and then build. Anyone having similar issue? 在此处输入图片说明

Try to update "Microsoft.Bcl.Build" nuget package. This was the solution for me.

Turning the comment from @sɐunıɔןɐqɐp into an answer

Run this command in the Package Manager Console

Update-Package -reinstall

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM