Portable class Library yog dab tsi?
Portable class Library yog dab tsi?

Video: Portable class Library yog dab tsi?

Video: Portable class Library yog dab tsi?
Video: How to Make & Use (.dll) files in Visual Studio | Using Class Library 2024, Hlis ntuj nqeg
Anonim

Cov Portable Class Library qhov project ua rau koj sau thiab tsim cov rooj sib tham tswj uas ua haujlwm rau ntau tshaj ib qho. NET Framework platform. Koj tuaj yeem tsim chav kawm uas muaj cov lej koj xav qhia thoob plaws ntau qhov haujlwm, xws li kev sib koom ua lag luam logic, thiab tom qab ntawd siv cov chav kawm los ntawm ntau hom kev ua haujlwm.

Tsis tas li ntawd, qhov txawv ntawm chav tsev qiv ntawv thiab chav tsev qiv ntawv hauv chav kawm yog dab tsi?

Cov Portable Class Library hom phiaj xwm ua rau koj sau thiab tsim cov rooj sib tham tswj hwm uas ua haujlwm ntawm ntau tshaj ib lub platform Microsoft, qhov "ib txwm" Chav tsev qiv ntawv hom project tsis. "Microsoft platforms" suav nrog. NET Framework, Windows Phone,.

Tsis tas li ntawd, kuv yuav ua li cas thiaj tsim tau lub tsev qiv ntawv portable hauv Visual Studio 2017? Rau tsim a Portable Class Library , siv lub template muab rau hauv Visual Studio . Tsim ib qhov project tshiab (File> New Project), thiab hauv New Project dialog box, xaiv koj cov lus programming ( Visual C# los yog Visual Basic ). Ces, xaiv lub Chav tsev qiv ntawv (Leejtwg Portable ) template.

Ua kom pom qhov no, Portable Class Library xamarin yog dab tsi?

Thaum koj tsim ib Daim Ntawv Thov Project lossis a Lub tsev qiv ntawv Qhov project, qhov tshwm sim DLL raug txwv rau kev ua haujlwm ntawm lub platform tshwj xeeb nws tau tsim rau. Qhov no tiv thaiv koj los ntawm kev sau ib qho kev sib dhos rau lub Windows app, thiab tom qab ntawd rov siv nws rau Xamarin . iOS thiab Xamarin.

. NET Portable yog dab tsi?

DotGNU Portable . NET , ib qho kev siv ntawm ECMA-335 Common Language Infrastructure (CLI), suav nrog software los sau thiab khiav Visual Basic. NET , C#, thiab C daim ntawv thov uas siv cov. NET cov tsev qiv ntawv hauv chav kawm, XML, thiab Windows Forms.

Pom zoo: