Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 2.92 KB

ReadMe.md

File metadata and controls

48 lines (29 loc) · 2.92 KB

目的

這個repo的目的是用來Demo如何建立nuget package

一般來說,建立nuget package有3個做法:

  1. 用Nuget Package Explorer
  2. 用nuspec + project
  3. 用nuspec

其中 用Nuget Package Explorer是沒有辦法自動執行 或者重複執行(執行完的nupkg有放在src\ReusableLibrary\ReusableLibrary.1.0.0.nupkg),因此,這個repo只有 2. 和 3. 的demo

用nuspec + project

要測試這個,請用powershell執行
build\nuget-nuspec-project\nuget_Net35Library.ps1

用nuspec

要測試這個,請用powershell執行
build\nuget-nuspec\nuget_build.ps1

其他參考資訊 - 部落格

我的部落格有相關介紹,可以參考:

其他參考資訊 - 簡報

slideshare:

<iframe src="//www.slideshare.net/slideshow/embed_code/key/kPw3WVpnJv2frE" width="595" height="485" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>

同樣簡報在docs:

<iframe src="https://docs.com/d/embed/D25193918-0320-0859-6100-000874755544%7eM9a11441f-41c0-4abe-2e94-d40af5ff7462" frameborder="0" scrolling="no" width="608px" height="378px" style="max-width:100%" allowfullscreen="False"></iframe>