Clickonce URL deployment

Sep 12, 2011 at 10:03 AM

Hi I am attempting to test an application that uses ClickOnce deployment from a URL as per mockler's example (search for ClickOnce and their example is in the other discussion), however the MS project displays an error stating the URI is unsupported.

Any suggestions?

 

A snippet of code is attached with the line in red highlighted as the error line:

 

    public static Application app = null;
        public static Window window = null;

        public static void Main(string[] args)
        {
  

            //static void Main(string[] args)


            Application.Launch(URLPATH); // which would be the URL
            app = Application.Attach("iexplore");

 

Many Thanks!

Sep 13, 2011 at 10:07 AM

Solved the issue. I needed to use the InternetExploer.Launch method, which uses the White.WebBrowser Reference and namespace..