Vim li cas peb thiaj xav tau NuGet pob?
Vim li cas peb thiaj xav tau NuGet pob?

Video: Vim li cas peb thiaj xav tau NuGet pob?

Video: Vim li cas peb thiaj xav tau NuGet pob?
Video: nkauj tawm tshiab 2021-22 "caskojpheejxav tau tu haib haib"By celesna (officia mv) 2024, Hlis ntuj nqeg
Anonim

NuGet muab cov cuab yeej tsim tawm xav tau rau kev tsim, luam tawm, thiab siv pob khoom . Qhov tseem ceeb tshaj plaws, NuGet tuav ib daim ntawv teev npe ntawm pob khoom siv nyob rau hauv ib qhov project thiab muaj peev xwm los kho thiab hloov kho cov pob khoom los ntawm cov npe ntawd.

Xav txog qhov no, vim li cas peb thiaj siv NuGet pob?

NuGet yog a Pob tswj qhov system rau Visual Studio. Nws ua kom yooj yim ntxiv, hloov kho thiab tshem tawm cov tsev qiv ntawv sab nraud hauv peb daim ntawv thov . Nws ua kom yooj yim ntxiv, hloov kho thiab tshem tawm cov tsev qiv ntawv sab nraud hauv peb daim ntawv thov . Siv NuGet , peb ua tau tsim peb tus kheej pob khoom yooj yim thiab ua kom muaj rau lwm tus.

Tom qab ntawd, lo lus nug yog, Kuv yuav qhib lub pob NuGet li cas? ntawm lub toolbar ntawm Assembly Explorer qhov rais lossis xaiv Cov Ntaub Ntawv | Qhib los ntawm NuGet Pob Cache hauv cov ntawv qhia zaub mov tseem ceeb. Qhov no yuav qhib tus Qhib los ntawm NuGet Pob Cache dialog. Cov npe dialog pob khoom los ntawm txhua tus NuGet cache qhov chaw ntawm koj lub tshuab. Siv qhov chaw tshawb nrhiav hauv lub dialog kom pom qhov xav tau pob.

Tom qab ntawd, ib tug kuj yuav nug, NuGet sawv rau dab tsi?

NuGet yog tus thawj tswj hwm pob pub dawb thiab qhib tau tsim los rau Microsoft txoj kev loj hlob platform (yav tas los hu ua NuPack). Txij li nws qhov kev taw qhia hauv xyoo 2010, NuGet tau hloov zuj zus mus rau hauv ecosystem loj ntawm cov cuab yeej thiab cov kev pab cuam. NuGet yog muab faib ua Visual Studio extension.

Kuv yuav paub li cas yog tias kuv pob NuGet siv?

Hauv Visual Studio, siv tus Pab > Hais txog Microsoft Visual Studio hais kom ua thiab saib ntawm version tso tawm ib sab ntawm NuGet Pob Tus thawj tswj. Xwb, tso tawm lub pob Tus Thawj Tswj Console (Cov Cuab Yeej> NuGet Pob Manager > Pob Manager Console) thiab nkag mus rau $host kom pom cov ntaub ntawv hais txog NuGet suav nrog tus version.

Pom zoo: