causes

add to .net core Of Project build Failure . Here are some tips error:

Assets file project.assets.json not found. Run a NuGet package restore.

Question why

This error occurred because dotnet cli Not all the necessary files were initially created . perform dotnet restore The required files will be added .

Solution

Tools > NuGet Package Manager > Package Manager Console simply run

dotnet restore

Reference material

stackoverflow

【.Net Core】Assets file project.assets.json not found. Run a NuGet package restore More articles about

  1. 【 resolvent 】INF file txtsetup.sif is corrupt or missing /// Use WinSetupFromUSB Come on U Disk installation windows2003( Don't use win PE System )

    [ resolvent ]INF file txtsetup.sif is corrupt or missing http://blog.csdn.net/zhyl8157121/article/details/8 ...

  2. 【.Net Core】 Automatic generation is prohibited at compile time netcoreapp Folder

    original text :[.Net Core] Automatic generation is prohibited at compile time netcoreapp Folder Every time you compile the generated file ,VS Will be automatically in <OutputPath> Property, and then add a NetCore Named folder ...

  3. Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. T

    Error message : Severity Code Description Project File Line Suppression StateError This project references NuG ...

  4. NuGet Packages are missing,This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.

    Wrong content This project references NuGet package(s) that are missing on this computer. Use NuGet Package R ...

  5. This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567.

    Notepad open csproj file Search for nuget Delete Target node It's like this : <Target Name="EnsureBclBuildImported" BeforeTarg ...

  6. 【Net Core】DNX summary

    1. What is? .NET execution environment ? .NET Execution Environment(DNX) It's a SDK And the runtime environment , All you need to create and run it .net Components of the application . It provides a host process ,C ...

  7. 【 The problem record 】LoadRunner Interface pressure test -json Format message

    [ causes ] Some time ago , Assist other projects to record interface pressure test script , The other party requests that the content of the request message be parameterized . The request method is as follows : Directly in Parameter List One more in parameter, Put the request message into dat In file . this ...

  8. 【.Net Core】 Use Nginx Release .Net Core 3.1 Project to LInux(Centos7).

    Front blog ( The projects used in blogs come from this ): [Docker] .Net Core 3.1 webapi Integrate EF Code First, Use MySql Conduct business operations . To configure swagger ( 3、 ... and ) Environmental Science :.N ...

  9. 【Android Develop learning notes 】【 The first lesson 】 First time to know New Project, Introduction to engineering documents

    Beginners create a new Andriod After the project , Often don't know Pakage Explorer What is the role of each file in the region , I learned a little today , To sum up . 1. Start with a new project 2. Enter a name , And supported SDK Version, etc ( These can ...

Random recommendation

  1. mysql delete Use the alias grammar

    Delete data today , I wrote this sql sentence , DELETE   from  sys_menus s WHERE s.MENU_ID in (86,87,88); The result is wrong .. [Err] 1064 - You ...

  2. Xcode8 You can't use shortcut keys “command+/” The solution to annotating code

    sudo /usr/libexec/xpccachectl Open the terminal , Enter the command ( If the computer has a password , There will be a prompt for the password ) Next, restart the computer . command + option + / You can also have multiple lines of comments

  3. sharepoint Database description

    One .WSS_Content The back-end content database stores all website content , Include documents from a website or files from a document library , List data and Web Part properties , And the user name and permissions .  A content database of all data for a specific website . Two .SharePoint_ ...

  4. Hadoop Of Server And thread model analysis

    An early article , in the light of Hadoop 2.6.0. One .Listener Listener Threads , When Server When in operation , It is responsible for listening to connections from clients , And use Select Pattern processing Accept event . meanwhile ...

  5. arm Assembly instruction summary ( Constantly updated )

    /** ****************************************************************************** * @author    Maox ...

  6. Problem I

    Problem Description Queues and Priority Queues are data structures which are known to most computer ...

  7. php: An array with the json Data conversion

    1. Array rotation json $json=json_encode( Array name ) Array rotation json character string 2,json Turn array $arr=json_decode(json character string ,[true]) No addition true For the first time, turn directly ...

  8. vsftp Manage scripts (CentOS6 use )

    #!/bin/bash # ### BEGIN INIT INFO # Provides: vsftpd # Required-Start: $local_fs $network $named $re ...

  9. [CF917D]Stranger Trees[ Matrix tree theorem + Solve a system of linear equations ]

    The question Here you are. \(n\) An undirected complete graph with two vertices , Designate a tree \(S\), How many spanning trees are there and the number of common edges of this tree is \(k\in[0,n-1]\) \(n\leq 100\) analysis Consider the matrix tree theorem , Put the corresponding tree next to ...

  10. MFC Maximize windows with and without a title bar

    Link to the original text : http://blog.csdn.net/smartgps2008/article/details/7741223 Maximize window without title bar : Case one : Overlay taskbar ShowWindow( ...