Build a application form a web
I have developed a Windows game application form C#. It contains 3 DLLs and one EXE. But one DLL is need to build time to time, because it contains an XML file and I need to change that time to time and embedded in to that DLL. After building that DLL I'm publishing and deploying though ClickOnce Deployment. For better conven开发者_运维知识库ient I decide to do make a separate web site to change the XML. Now what I need to do is that building process and publishing process do via my web application. Currently my web site and Game app in same Server. Is it possible to that building process and publishing process via my web site. Something like run in bat file in .NET command prompt? (Web site and Game developed in C# & VS2008)
Why not just leave the xml file as an external resource if it's changing regularly? (i.e. don't complile it into the dll)
Basically you want to be able to compile each DLL for each customer. In effect, each customer will have their own unique DLL containing a specific XML resource.
There are ways of doing this - it's simply a matter of automating your build process. It's not easy to do this but it can be done. You might research MSBuild - it's suitable for automated compiling.
精彩评论