मैं एमएसबिल्ड का उपयोग काफी बड़े ग्राहक/सर्वर अनुप्रयोग बनाने के लिए करता हूं। मैं एक अलग क्लाइंट और सर्वर स्थापित सेट बनाने के लिए InstallShield 2008 का उपयोग करता हूं।
बिल्ड प्रक्रिया में कस्टम लक्ष्य जोड़कर आप इंस्टॉलरों के निर्माण में निर्माण को जोड़ सकते हैं।
मैं अनुशंसा करता हूं कि आप दोनों को एकीकृत करने के प्रयास से पहले निर्माण और इंस्टॉलर को अलग-अलग बनाएं और परीक्षण करें।
- core MSBuild tasks
- [Tigris MSBuild community tasks][1]
- [MS SDC tasks][2]
- and custom tasks
प्रणाली हमें जटिल क्षुधा की लगातार तैनाती भर में प्रदर्शन करने के लिए अनुमति देता है:
- identify the right target server for a given component (e.g Windows service goes to a given server, web services go to another, etc.)
- perform a PsExec of a deployment MSBuild script on the target server
- the deployment MSBuild script is responsible for:
a) downloading the right component package (in my case a .zip)
b) backing up previous versions of the component
c) extracting the package to the right place
d) tailoring the installation steps to the type of component to deploy (e.g. needs to perform an Exec task of installutil.exe on a Windows service)
e) logging the result of the deployment
इस प्रणाली का एक मिश्रण का उपयोग कर बनाया गया है:
क्या आप अपने स्टेजिंग वातावरण पर CC.Net चला रहे हैं? – Ryu
इस पर नहीं, लेकिन यह एमएसबिल्ड का उपयोग कर मंच पर्यावरण को प्रकाशित करता है। – Alex
क्या आप अभी एक वेबसाइट प्रकाशित कर रहे हैं, या आपको अपने पास gac इंस्टॉल करने या कुछ और करने की आवश्यकता है? – Ryu