äžãããã
- 1ã€ã®å°ãããªãããéåžžã«äŸ¿å©ãªã©ã€ãã©ãªã ãã®ã³ã°ãWindows Azureã§ã®äœæ¥ãªã©ãäžè¬çãªæ©èœãå«ãŸããŠããŸãã
- ãã®ã©ã€ãã©ãªã䜿çšãããå€æ°ã®ãããžã§ã¯ãïŒãœãªã¥ãŒã·ã§ã³ïŒã
- åæ£éçºããŒã ãã©ã€ãã©ãªã®äžéšãäœæããã³ä¿å®ãããä»ã®éšåã¯äœ¿çšãããã ãã§ãã
解決ãããåé¡
- ãããžã§ã¯ããããããžã§ã¯ãã«ãœãŒã¹/ãã€ããªãã³ããŒããå¿ èŠã¯äžäŸ¿ã§é·ããæŽæ°äžã«ãšã©ãŒãçºçããå¯èœæ§ãé«ããªããŸãã
- ãããžã§ã¯ãããšã«ç°ãªãããŒãžã§ã³ã䜿çšã§ããªã-ãéå»ãããç¹å®ã®ããŒãžã§ã³ãèŠã€ããŠã¢ã»ã³ãã«ããã®ã¯äžäŸ¿ã§ãããæŽæ°äžã«ãšã©ãŒãçºçããå¯èœæ§ãé«ããªããŸãã
- ã©ã€ãã©ãªã®äŸåé¢ä¿ã®é¢é£æ§ãç£èŠããå¿ èŠæ§-ããã¯ç¹ã«Azure SDKã«ç¹ã«åœãŠã¯ãŸããŸããAzureSDKã¯çŸåšå®æçã«æŽæ°ãããŠããããã¹ãŠã®éçºè ãææ°ããŒãžã§ã³ãæã£ãŠããããã§ã¯ãããŸããã
- ç°ãªããã·ã³ã§æ¢åã®ãããžã§ã¯ãã䜿çšããããšã¯ãå€ãã®äžå¿ èŠãªãšã©ãŒãçæããå¥ã®ã埮åŠãªãå Žæã§ãã æ£ããåäœãããã«ã¯ããããžã§ã¯ãã®ãã¹ãå®å šã«äžèŽãããå¿ èŠããããŸãããããã¯éåžžã«å°é£ã§ãã
解決çãšçºçããåé¡
ãœãªã¥ãŒã·ã§ã³ããã«ããããšãã«ã©ã€ãã©ãªã®ææ°/ç¹å®ããŒãžã§ã³ã®ããã±ãŒãžãååŸããã®ãNuGetã䜿çšããã®ãæãç°¡åã§ããããšãããã«æããã«ãªããŸãããAzureSDKã§ã®äœæ¥ãåæ§ã®ã¢ãããŒãã§ãã
ãã ãããªããžããªãå±éããåŸãNuGetã®å ¬éã¯ãã®ããã«ã¯ã»ããã¢ããã§ããªãããšãå€æããŸãããå ¬éçšã®ããã±ãŒãžãåéããŠãªããžããªã«ã¢ããããŒãããå¥ã®ãããžã§ã¯ããäœæããå¿ èŠããããŸããã
ãŸãã
AssemblyInfo
ãã¡ã€ã«ã®ããŒãžã§ã³çªå·ã¯ããŸã䟿å©ã§ã¯ãªãããšãå€æããŸãã-ããã©ã«ãã®çªå·ä»ãã«ã¯å ¬éæ¥ãå«ãŸããŠããªããããã©ã€ãã©ãªã®æŽæ°åŸã«çºçããåé¡ã解決ããã®ãå€å°å°é£ã«ãªããŸãïŒ
ãã®çµæãå ¬éããã»ã¹ãTFSãµãŒããŒã«è»¢éããã©ã€ãã©ãªã®ãã«ãå®çŸ©ïŒbuildïŒãè¿œå ããããšã決å®ãããŸããã ããããã¹ãŠã®ã¢ã¯ã·ã§ã³ã¯Team Explorer VS 2010ã§å®è¡ãããŸããããVS 2012ã«åãæ¿ãããšãã«ç¹å¥ãªéãã¯ãããŸããã§ããã
æé«ã®æ€çŽ¢
ãµããŒããããžã§ã¯ããšããŠã NFSã®è¿œå ïŒãµãŒããŒã§ã®ãã«ãäžã®
AssemblyInfo
ãã¡ã€ã«ã®ç·šéïŒãšãšãã«NuGetterãéžæããïŒãµãŒããŒã§ã®ãã«ãäžã®ãªããžããªãžã®èªåå ¬éçšïŒããããžã§ã¯ãã®äœæè ãå¯äžã®ãã®ã§ãããçµ±åã®åé¡ã¯ãããŸããã
å人çãªå®è£ çµéšã®æ®µéçãªèª¬æ
以äžã«æžãããŠãããã®ã¯ãã¹ãŠãäž¡æ¹ã®ãããžã§ã¯ãã®ããã¥ã¡ã³ãã«å ããŠãç§ãééããããã€ãã®å¯äœçšã®èª¬æã«åŸã£ãŠããããšãããã«ãç¥ããããããšæããŸãã
ç§ã¯ä»¥åã¯ãã«ããæ§æããå¿ èŠããªãã£ãã®ã§ããã¹ãŠã®æé ãååã«è©³çŽ°ã§éå±ã«èª¬æããŸãã
0. æ§æã®æºå-ãµãŒããŒã«ã¢ããããŒãããŸãã
äž¡æ¹ã®ãããžã§ã¯ãã«ã¯ããµãŒããŒäžã®ãã«ãã¯ãŒã¯ãããŒçšã«å®çŸ©ãããã«ã¹ã¿ã ã¢ã¯ã·ã§ã³ãå«ãã©ã€ãã©ãªãšãããã©ã«ãã®ãã«ãæ©èœãæ¡åŒµããã¯ãŒã¯ãããŒãã³ãã¬ãŒããå«ãxamlãã¡ã€ã«ãå«ãŸããŠããŸãã ãã®ãã¹ãŠããµãŒããŒã«ã¢ããããŒãããå¿ èŠããããŸããæ°ãããã«ããäœæãããšãã«ããããéžæã§ããããã«ããããã®ãããžã§ã¯ããã³ãã¬ãŒããšããã®ãã«ãã次åéå¬ããããšãã«ããããèŠã€ããããšãã§ããã©ã€ãã©ãªã§ãã
ããã©ã«ãã®ãã³ãã¬ãŒããä¿åããããã®ãã©ã«ããŒã«ã¯ãŒã¯ãããŒãã³ãã¬ãŒããé 眮ããããšããå§ãããŸã
$/(Solution Name)/BuildProcessTemplates
ã
ã©ã€ãã©ãªãšãã®èšå®ãå«ãNuGet.exeãã¡ã€ã«ãå¥ã®ãã©ã«ããŒã«é 眮ããããšããå§ãããŸãïŒãµãŒããŒã§ã¯ãéåžžã«å ã®ååã
.nuget
ããåžžã«æäžéšã«ããããã«ãã®ã»ããã¢ããæã«äŸ¿å©ã§ãïŒã
ãã«ãããã»ã¹ã§ãããã®ã©ã€ãã©ãªãèŠã€ããã«ã¯ããã®ãœãªã¥ãŒã·ã§ã³ã®ãã«ãã³ã³ãããŒã©ãŒãæ§æããå¿ èŠããããŸãã ããã¯æ¬¡ã®ããã«è¡ãããŸãã
ããŒã ãšã¯ã¹ãããŒã©ãŒ->ïŒãœãªã¥ãŒã·ã§ã³åïŒ->ãã«ã->å³ã¯ãªãã¯->ãã«ãã³ã³ãããŒã©ãŒã®ç®¡ç...
ã³ã³ãããŒã©ãŒã®éžæïŒ
ïŒãœãªã¥ãŒã·ã§ã³åïŒã®ã³ã³ãããŒã©ãŒã®ç·šéïŒ
[
Version control path to custom assemblies
ã®
Version control path to custom assemblies
ãã£ãŒã«ãã§ãå ±æã©ã€ãã©ãªãã©ã«ããŒãžã®ãã¹ãæå®ããå¿ èŠããããŸãã
ããã§æåã®å°ããªåé¡ããããŸãã- ã³ã³ãããŒã©ãŒã§ã¯ãªãããã®ãã«ããšãŒãžã§ã³ãã®ããããã£ãç·šéããããšããŸããã 泚æããŠãã ããã
念ã®ããããã©ã«ããŒãžã®æ¥ç¶ã確èªããŸãïŒ[æ¥ç¶ã®
Test Connection
]ãã¿ã³ïŒã
æ¥ç¶ã確èªããããå€æŽãä¿åããŸãã
1. ãã³ãã¬ãŒãã«åºã¥ããŠæ°ãããã«ããè¿œå ããŸãã
ããã§ãåã®ã¹ãããã§ããŒãããããã³ãã¬ãŒãã«åŸã£ãŠæ°ãããã«ããè¿œå ããå¿ èŠããããŸãã ããã¯æ¬¡ã®ããã«è¡ãããŸãã
ããŒã ãšã¯ã¹ãããŒã©ãŒ->ïŒãœãªã¥ãŒã·ã§ã³åïŒ->ãã«ã->å³ã¯ãªãã¯->æ°ãããã«ãå®çŸ©...
ãã«ãã®ååãšèª¬æïŒ
ãã«ããèµ·åããã¹ã±ãžã¥ãŒã«ïŒ
ãªãã·ã§ã³ïŒ
- æåã§ã®ã¿å®è¡ããŸãã
- éçºè ããã®åãã§ãã¯ã€ã³åŸã
- åã®ãã«ããå®äºãããŸã§åŸ ã¡ãŸãã
- éå§æéããNå以å ãã«èšå®ã§ãããã§ãã¯ã€ã³ã®åéã
- ããŒãžãæåãããã®åŸã®ãµãŒããŒäžã®ã¢ã»ã³ããªãæåããå Žåã«ã®ã¿ããã§ãã¯ã€ã³ãåãå ¥ããŸãã
- ã¹ã±ãžã¥ãŒã«éãã
ãã«ãäžã«åéããå¿ èŠãããã³ãŒãïŒ
ããã«ãããžã§ã¯ããå€ãããå Žå-äžèŠãªãããžã§ã¯ããåé€ããŸãã ãã«ãäžã«ã©ã®ãã©ã«ããŒã®ã©ã®ãããžã§ã¯ããã³ããŒããããæå®ããããšãã§ããŸãã
ãã«ãã®ããã©ã«ããã©ã¡ãŒã¿ã®å®çŸ©ïŒ
以äžãéžæããå¿ èŠããããŸãã
- åã®æ®µèœã§æ§æãããã³ã³ãããŒã©ãŒã
- ã³ãŒããé
眮ããå ŽæïŒ
- ã¢ã»ã³ããªã®çµæãã©ãã«ãã³ããŒããªãã§ãã ããã
- ãã«ãçµæãå
±æãã©ã«ããŒã«ã³ããŒ
\\server\share
ãšãã圢åŒã®æå¹ãªUNCã¢ãã¬ã¹\\server\share
å¿ èŠã§ã ã - ãã«ãçµæãTFSãµãŒããŒãã©ã«ããŒã«ã³ããŒãã
ãã«ããäœæãããŠãŒã¶ãŒã®æš©éã«ãã£ãŠã¯ããã®ãªãã·ã§ã³ã¯åžžã«äœ¿çšã§ãããšã¯éããŸãã ã
ãã«ãèšå®ïŒ
æåã®3ã€ã®ãã€ã³ãã¯ãã©ã®ãã«ãã§ãåžžã«äœ¿çšå¯èœãªèšå®ã§ãã ããã§ãæåã®ãããã¯ã®ã¿ãéèŠã§ã-ã¢ã»ã³ããªã®ãããžã§ã¯ããŸãã¯ãœãªã¥ãŒã·ã§ã³ã®éžæïŒ
Projects to Build
ïŒã
ãŸãã
Build number format
ã泚æãæã䟡å€ããã
Build number format
-ãã®ãã©ã¡ãŒã¿ãŒã¯ããã«ãçµæã®ãããã©ã«ããŒã®ååãæ åœããŸãïŒãã©ã«ããŒã®ãã¹ãã倧ãããããžã§ã¯ãã®å Žåã¯ãããã»ã©é·ãããªãã§ãã ããïŒã
ãã«ãçµæãä¿åããããã®èšå®ïŒ
2. ãã«ãçšã®ãã³ãã¬ãŒããéžæããŸãã
äžéšã®[
Process
]ã¿ãã®ããããããŠã³ãªã¹ãã§ãå¿ èŠãªãã³ãã¬ãŒããéžæããŸãã å¿ èŠãªãã®ãããããããŠã³ãªã¹ãã«è¡šç€ºãããªãå ŽåããããåããŠäœ¿çšãããããšãæå³ãã
New...
ãã¿ã³ã䜿çšããŠãµãŒããŒã«ã衚瀺ãããå¿ èŠããããŸãïŒTFSãµãŒããŒã«æ¢ã«ã¢ããããŒãããããã¡ã€ã«ãéžæãŸãã¯ã³ããŒããŸãïŒã
ãã³ãã¬ãŒãã®éžæïŒ
ãªãã·ã§ã³ïŒ
- [TFSãµãŒããŒã«ã€ã³ã¹ããŒã«ãããŠãããã¹ãŠã®ãã«ããã³ãã¬ãŒã]ã
-
VersioningBuildTemplate.xaml
-AssemblyInfo.csãã¡ã€ã«å ã®ããŒãžã§ã³ã眮ãæããããã®åºæ¬ãã³ãã¬ãŒãã -
VersioningBuildTemplate15.xaml
-AssemblyInfo.csãã¡ã€ã«ã®çœ®æçšãã³ãã¬ãŒã-ããŒãžã§ã³TFSVersioning 1.5ã§å©çšå¯èœãªã©ã€ãã©ãªããããã£ãç·šéããããã®è¿œå æ©èœã -
NuGetterStandardBuildTemplate.xaml
ãã«ãçµæãNuGetã«å ¬éããããã®åºæ¬ãã³ãã¬ãŒãã -
NuGetterVersioningBuildTemplate.xaml
ãã«ãçµæãNuGetã«å ¬éããAssemblyInfo.csãã¡ã€ã«ã®ããŒãžã§ã³ã眮ãæããããã®åºæ¬çãªãã³ãã¬ãŒãã -
NuGetterVersioningBuildTemplate15.xaml
ãã«ãçµæãNuGetã«å ¬éããAssemblyInfo.csãã¡ã€ã«ãããŒãžã§ã³TFSVersioning 1.5ã®è¿œå æ©èœã«çœ®ãæããããã®ãã³ãã¬ãŒãã
3. AssemblyInfo.csãã¡ã€ã«ã§çœ®æãæ§æããŸãã
TFSVersioningãåå ãããã³ãã¬ãŒããéžæãããå Žåããã«ãèšå®ã衚瀺ãããŸã
ãã€ã³ãçªå·4ïŒ
å¿ èŠãªãã®ãšçç±ïŒ
- æåã®2è¡ã¯ã
AssemblyFileVersion
ããã³AssemblyVersion
ããŒãžã§ã³çªå·ãã³ãã¬ãŒããæ åœããŸãã - ããŒãžã§ã³çªå·ãã³ãã¬ãŒãã®çœ®æã«ãŒã«ïŒ
- ãã³ãã¬ãŒãå ã®ä»»æã®å Žæã«ããçªå·ã¯å€æŽãããŸããã
-
B
ã¯1æ¥ä»¥å ã«ãã«ãçªå·ã«çœ®ãæããããŸãã -
YYYY
ã¯ãçŸåšã®å¹Žã®4æ¡ã®è¡šçŸã«çœ®ãæããããŸãã -
YY
ã¯ãçŸåšã®å¹Žã®2æ¡ã®è¡šçŸïŒæåŸã®2æ¡ïŒã«çœ®ãæããããŸãã -
MM
ãŸãã¯M
ã¯çŸåšã®æçªå·ã«çœ®ãæããããŸã ïŒMM
眮ãæããå ŽåMM
ãŒãã¯åã«ä»ããŸãã ïŒã -
DD
ãŸãã¯D
ã¯ããã®æã®åœæ¥ã®æ°å€ã«çœ®ãæããããŸã ïŒDD
眮ãæããå ŽåDD
ãŒãã¯åã«ä»ããŸãã ïŒã -
J
ã¯YYDDD
圢åŒã®æ¥ä»ã«çœ®ãæããããŸããYYDDD
ã§ãDDD
ã¯å¹Žåããã®éç®æ¥ã§ãã
ææ¡ãããŠããããã©ã«ãã®ãã³ãã¬ãŒã1.0.JB
ã¯ãã©ã€ãã©ãªã«ã»ãŒäžæã®ããŒãžã§ã³çªå·ãæäŸããŸãã ãããžã§ã¯ãã®ã¡ãžã£ãŒããŒãžã§ã³ãšãã€ããŒããŒãžã§ã³ãä¿æãããŠããã°ã100幎åŸã«åé¡ãå§ãŸããŸãã ã¬ã¬ã·ãŒã³ãŒããåæããŸãã
- 3è¡ç®ã¯ãçµã¿ç«ãŠããããããžã§ã¯ãã§AssemblyInfoãã¡ã€ã«ãèŠã€ããããã®ãã¹ã¯ã§ãã éåžžãç·šéã¯å¿ èŠãããŸããã
- 4è¡ç®ã¯ãçªå·
B
è¿œå ãããçªå·ã§ãB
1ã€ã®ãããžã§ã¯ãã«è€æ°ã®ãã«ããæ§æããå Žåã«äœ¿çšã§ããŸãã1ã€ã«100ããã1ã€ã«200ãè¿œå ããã°ã誰ããæºè¶³ããŸãã ãã«ãçªå·ãšãã¬ãã£ãã¯ã¹ã®åèšã®æ倧å€ã¯65535ã§ãã ãŸãããããžã§ã¯ãã®äœæè ã¯ã1æ¥ã«999ãè¶ ãããã«ããäœæããå Žåã¯ã圌ã«é£çµ¡ããããã«äŸé ŒããŸãã - 5è¡ç®ã¯ã
AssemblyFileVersion
ããã³AssemblyVersion
å±æ§ãæ¬ èœããŠããå Žåã«äœæãããã©ããã瀺ããŸãã - 6è¡ç®ã¯ãå€æŽãããAssemblyInfoãã¡ã€ã«ãããŒã¿ã¹ãã¢ã«ã¢ããããŒããããã©ããã瀺ããŸãã
è€æ°ã®ãããžã§ã¯ãããã«ãããŠããå ŽåããŸãã¯ãã«ãã®çµæã«åºã¥ããŠNuGetããã±ãŒãžãäœæããŠããå ŽåãããŒãžã§ã³çªå·ã®ãã³ãã¬ãŒããå¥ã®XMLãã¡ã€ã«ã«è»¢éãããµãŒããŒã«ã¢ããããŒãããŠã7è¡ç®ã§äœ¿çšå¯èœã«ãã8è¡ç®ã§ãã®ãã¹ã瀺ããŸãã
XMLã¯æ¬¡ã®ããã«ãªããŸãã
<?xml version="1.0" encoding="utf-8" ?> <VersionSeed> <Solution name="Default"> <AssemblyVersionPattern>1.8.jb</AssemblyVersionPattern> <AssemblyFileVersionPattern>1.8.jb</AssemblyFileVersionPattern> </Solution> <NuGetPackage id="ServiceLib"> <VersionPattern>1.8.jb</VersionPattern> </NuGetPackage> </VersionSeed>
TFSVersioning 1.5ã®ãã«ããã³ãã¬ãŒãã䜿çšããå Žåãå©çšå¯èœã«ãªããŸã
AssemblyInfoãã¡ã€ã«ã®è¿œå ã®èªåä¿®æ£æ©èœãåããã¿ãïŒ
4. NuGetã§ã®å ¬éã®ã»ããã¢ããã
NuGetterã®ãã³ãã¬ãŒãã䜿çšããå Žåãããã«3ã€ã®ã¿ãã䜿çšã§ããŸãã
NuGetterïŒAïŒ-äºåå è£ ïŒ
æåã®ã¿ãã¯ãããã±ãŒãžåããã³å ¬éçšã«çµã¿ç«ãŠããããããžã§ã¯ãã®æºåãæ åœããŸãã å¿ èŠã«å¿ããŠãPowerShellã¹ã¯ãªããããµãŒããŒã«è¿œå ã§ããŸãïŒããšãã°ãNuGetä»æ§ã§æå®ããããã©ã«ããŒãäœæããããïŒã
泚æïŒå®è¡å¯èœãªPowerShellã¹ã¯ãªãã㯠ããµãŒããŒã§ã®å®è¡ãçŠæ¢ãããŠããå ŽåããããŸãã ãã®å Žåã ãã«ãã¯ãšã©ãŒã«ãªããŸããããã¹ã¯ãªãããæ£åžžã«æ©èœãããã®ããã«NuGetãå®è¡ããããšããŸãã
PowerShellã¹ã¯ãªããã®å®è¡ã«é¢ããããªã·ãŒã¯ãã³ãã³ãã䜿çšããŠç¢ºèªããã³ä¿®æ£ã§ããŸãã
Get-ExecutionPolicy Set-ExecutionPolicy
NuGetterïŒBïŒ-ããã±ãŒãžïŒ
å¿ èŠãªãã®ãšçç±ïŒ
- æåã®è¡ã¯ãNuGetãã¡ã€ã«ãå®è¡ããããã®è¿œå ãã©ã¡ãŒã¿ãŒã§ãã
- 2è¡ç®ã¯ãããã¯ããã³å ¬éæã«NuGetã³ãã³ããå®è¡ããããã®ããŒã¹ãã©ã«ããŒã®ååã§ãã
- 3è¡ç®ã¯ããµãŒããŒäžã®NuGetãã¡ã€ã«ãžã®ãã¹ã§ãïŒãã¡ã€ã«ã¯ããµãŒããŒäžã®Windowsã®PATHã§å®çŸ©ããããªããžããªãŸãã¯ãã©ã«ããŒå ã«ããå¿ èŠããããŸã ïŒã
- 4è¡ç®ã¯ããµãŒããŒäžã®NuGetä»æ§ãã¡ã€ã«ãžã®ãã¹ã§ãïŒãã¡ã€ã«ã¯ãªããžããªå ã«ããå¿ èŠããããŸãïŒã
- 5è¡ç®ã¯ãããã±ãŒãžãäœæããããã©ã«ããŒã®ååã§ãïŒã¢ã»ã³ããªãæåããå ŽåïŒã
- 6è¡ç®-ãããžã§ã¯ãã®ããŒãžã§ã³ãã³ãã¬ãŒããå«ããã¡ã€ã«ã®ã¢ãã¬ã¹-äžèšã®ããã«ããããžã§ã¯ããšããã±ãŒãžã®ãã¹ãŠã®ããŒãžã§ã³çªå·ãåå¥ã®XMLãã¡ã€ã«ã«å ¥ãããã«ãããããã£ã§åžžã«å€æŽããªãã§ãã ããã
NuGetãã¡ã€ã«ãå®è¡åã«ããèªäœãæŽæ°ããããã«ã¯ãŒã¯ãããŒãæ§æã§ããŸããã§ãããNuGet.exeã®æ°ããããŒãžã§ã³ããµãŒããŒã«ã¢ããããŒãããå¿ èŠããããŸããã å¥ã®NuGetåŒã³åºãã§ã«ã¹ã¿ã ã¢ã¯ã·ã§ã³ãè¿œå ãããæäŸããããã³ãã¬ãŒãã«åºã¥ããŠç¬èªã®ãã³ãã¬ãŒããäœæããå¿ èŠããããšæããŸãã ãããããç§ã¯èªè»¢è»ãçºæããŠããããã¹ãŠãã¯ããã«ç°¡åã«ãªããŸããã
NuGetterïŒCïŒ-ããã·ã¥ããã³å ¬éïŒ
å¿ èŠãªãã®ãšçç±ïŒ
- ããã±ãŒãžãå
¬éãããŠããNuGetãªããžããªã«å®çŸ©ãããŠããå Žåãæåã®è¡ã¯APIããŒã§ãã äœæè
ã¯
aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
ãšã³ããªã®ããŒãšããŠGUIDãæ³å®ããŠããŸããæå®ãããããŒãReGexãã§ãã¯ã«åæ Œããªãå Žåããã®è¡ã¯APIããŒãæå®ãããŠãããã¡ã€ã«ãžã®çžå¯Ÿãã¹ãšèŠãªãããŸã ã - 2è¡ç®ã¯ãããã±ãŒãžãäœæããŠãªããžããªã«ã³ããŒããã ããããªã¢ãŒããµãŒããŒã§ã®å
¬éãå¿
èŠãã瀺ããŠããŸãã å®éããã©ã°ããªã³ã®å ŽåãããŒãžã§ã³2.1ã§ã¯ãã©ã¡ãŒã¿ãŒãèªèãããªãããã
-co
ãã©ã¡ãŒã¿ãŒãNuGetã¹ã¿ãŒãã¢ãããã©ã¡ãŒã¿ãŒã«è¿œå ããããã«ãå šäœãç Žå£ãããŸãã - 3è¡ç®ã¯ãããã±ãŒãžã®äœæåŸã«ãªããžããªã«ããã±ãŒãžãå ¬éãããã©ããã瀺ããŸãã
- 4è¡ç®ã¯ãå
¬éçšã®NuGetãªããžããªã®ã¢ãã¬ã¹ã§ãã
å¯èœãªå€ïŒ
- ãªã¢ãŒããªããžããªã®URLã
- ããŒã«ã«ãããã¯ãŒã¯äžã®ãã©ã«ããŒã®UNCåã
- ãã«ããéå§ãããµãŒããŒäžã®ãã©ã«ããŒã®ããŒã«ã«ã¢ãã¬ã¹ã
NuGetãªããžããªã«æ£åžžã«å ¬éããã«ã¯ãã¢ããªã±ãŒã·ã§ã³ããŒã«ãå®è¡ããŠãããŠãŒã¶ãŒã®ããã±ãŒãžãã©ã«ããŒãžã®æžã蟌ã¿æš©éãå¿ èŠã§ãã EventLogã«ååãªãã£ã¹ã¯é åããªãå Žåã®ãšã©ãŒã¯éåžžã«å¥åŠã§ããŸã£ããæ å ±ããªãããããµãŒããŒã«ã¯ååãªã¡ã¢ãªãå¿ èŠã§ãã
5. ãã«ããèµ·åããŸãã
ãã€ã³ã1ããã®èšå®ã«åŸã£ãŠèªåçã«ãã«ããéå§ããããšã«å ããŠããã«ããæåã§éå§ã§ããŸãã
ããŒã ãšã¯ã¹ãããŒã©ãŒ->ïŒãœãªã¥ãŒã·ã§ã³åïŒ->ãã«ã->èµ·åãããã«ã->å³ã¯ãªãã¯->æ°ãããã«ãã®ãã¥ãŒ...
çŸåšã®ã¹ããŒã¿ã¹ã§å®è¡äžã®ãã«ãã®è¡šïŒ
6. åèš
ãã®åé¡ã¯è§£æ±ºããããã®èšäºã®å·çãããã¯ããã«é«éã«ãªããŸããã ããã«ãTFSã§ãã«ããäœæããææ³ãç解ããåŸãContinious Integrationã®ã»ããã¢ããã¯ããã»ã©é£ãããªãããšãããããŸããã ãã«ãã®ãã«ãã¯ãµãŒããŒã§è¡ãããããšãå¿ããªãã§ãã ããããããžã§ã¯ãèšå®ããã¡ã€ã«ããã®ä»ã®å€æŽããªããžããªã«ã¢ããããŒãããããšãå¿ããªãã§ãã ããã
ãã«ãã倱æããå ŽåãTFSã¯ç·æ¥åºŠãç·æ¥ã®ãã°ãèªåçã«äœæããæåŸã«ãµãŒããŒã«ã³ãŒããã¢ããããŒãããéçºè ã«ãã³ã°ã¢ããããŸãã ä¿®æ£åŸããã°ã¯
Network Service
å²ãåœãŠãããããããã®ç¹å®ã®ãŠãŒã¶ãŒã«ã¯æžã蟌ã¿æš©éãä»äžããå¿ èŠããããŸãã
ãã®èšäºãæéãšç¥çµãç¯çŽããããšãé¡ã£ãŠããŸãã
ãæž èŽããããšãããããŸããã