Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
172 views
in Technique[技术] by (71.8m points)

What would I do with Azure Releases when I have a WPF application?

Would there be a purpose of Azure Releases if I'm just building a WPF application?

In Azure Builds I can just use a Copy task to copy the output files to a drop location, right?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

What would I do with Azure Releases when I have a WPF application?

Indeed, we could just use a Copy task to copy the output files to a drop location when we build/deploy the WPF application.

However, if we have to deploy the WPF application to multiple stages/machines, in this case, we may need add one more copy task to copy the output files. In addition, if the situation of each stages/machines is different, we may not be able to use only the copy task to complete the deployment. Now, we could use the Azure Release with multiple stages, like Dev, Test, Product and so on. one stage corresponds to an environment or machine, and each environment or machine can be set individually.

On the other hand, if we use a copy task to copy the output files to deploy the WPF application, WPF application will be deployed to the target machine every time when we enable CI. Obviously, not every modification we want to deploy to the target machine. So, we need a release pipeline to separate our build and deploy.

Hope this helps.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...