How to publish a clickonce application using c# code something like RRS feed

  • 질문

  • I'm now trying to publish a clickonce application with c# code only with something like a msbuild api in and others.

    The code I wrote down was just like below...

                Engine engine = new Engine();
                Project BuildProject = new Project(engine);
                BuildProject.SetProperty("Configuration", "release");
                BuildProject.SetProperty("ApplicationRevision", "");
                BuildProject.SetProperty("PublisherName", "");
                BuildProject.SetProperty("PublishDir", @"D:\Projects\DeployTest");

    but it did not work. Q.Q

    How can I publish it with c# code?

    please give me a good solution! please~~

    2010년 7월 22일 목요일 오후 1:08