.NET Framework CICD

研究這個真的花了老半天,首先是要用 GitLab 的 windows host
接下來研究怎麼build my solution

需要研究的主題:
docker
MSBuild
GitLab
PowerShell


搜尋docker image
.NET Framework SDK

參考文章
Using Dotnet and MSBuild tools in Dockerfile
“msbuild” not working in Windows Shared Runner?
MS Build not working with gitlab runner while working locally
看到這篇發現他的path後面還有msbuild.exe
The reference assemblies for framework “.NETFramework,Version=v4.6.2” were not found
看這篇安裝了套件Microsoft.NETFramework.ReferenceAssemblies

研究deploy
How to Connect to a Remote Computer Using Command Prompt
教怎麼連到遠端電腦


參考yaml
lib/gitlab/ci/templates/dotNET.gitlab-ci.yml