Yuav ua li cas kuv siv pob manager console?
Yuav ua li cas kuv siv pob manager console?

Video: Yuav ua li cas kuv siv pob manager console?

Video: Yuav ua li cas kuv siv pob manager console?
Video: pob txha ntses daig caj pas lawm yuav ua li cas 2024, Kaum ib hlis
Anonim

Qhib qhov project / kev daws teeb meem hauv Visual Studio, thiab qhib qhov console siv cov cuab yeej > NuGet Tus Thawj Tswj Pob > Package Manager Console lus txib. Nrhiav tus pob koj xav nruab.

Ua li no, kuv yuav qhib lub pob tus thawj tswj console li cas?

Qhib koj qhov kev daws teeb meem / qhov project hauv Visual Studio. Xaiv TOOLS -> NuGet Package Manager -> Package Manager Console los ntawm cov zaub mov saum toj kawg nkaus. Qhov no yuav qhib pob manager console.

Tom qab ntawd, lo lus nug yog, Kuv yuav ua li cas thiaj li pab tau migrations hauv pob Manager console? Qhib lub Package Manager Console los ntawm Cov Cuab Yeej → Library Package Manager → Package Manager Console thiab ces khiav lub pab - kev tsiv teb tsaws chaw hais kom ua (kom paub tseeb tias qhov project default yog qhov project uas koj cov ntsiab lus hauv chav kawm yog).

Tsis tas li ntawd, kuv yuav ua li cas thiaj li nres Package Manager console?

Ctrl + Tab tuaj yeem pab peb tawm mus Package Manager Console qhov rais mus rau lwm qhov rais, tab sis nws yuav tsis kaw nws. Yog koj xav kaw lub Package Manager Console qhov rais, thov siv SHIFT + ESC los kaw qhov rais qhib tam sim no hauv Visual Studio.

Kuv yuav ua li cas qhib pob tus thawj tswj console hauv Visual Studio 2013?

Txhawm rau nkag mus rau NuGet tus thawj tswj pob hauv Visual Studio 2013 , mus rau Cov Cuab Yeej> Library Tus Thawj Tswj Pob > Tswj NuGet pob rau kev daws teeb meem (lossis yog tias koj yog hom CLI, xaiv Package Manager Console ).

Pom zoo: