Setting Advanced Options for Creating ClickOnce Programs


The Publishing Wizard is the easiest way to create a ClickOnce program, but it doesn't give you access to all the features of ClickOnce. To view all the available settings, right-click the project name in the Solution Explorer and choose Properties. If you don't click the correct node in the Solution Explorer, you'll get the wrong properties. Another method to use is to open the Project menu and choose Picture Viewer Properties.

Next, click the Publish tab, and you'll see a page of publishing options (see Figure 23.8). Using this page, you can specify prerequisites, such as whether to install the .NET Framework, which is required to run any .NET application (by default, the Publishing Wizard creates your ClickOnce application such that it will install the .NET Framework from the Web if the user performing the install doesn't have the Framework installed). The Publish Wizard walks you through many of these options, but the most control is gained by setting your options here and clicking the Publish Now button, which appears at the bottom-right of the Publish page.

Figure 23.8. Advanced ClickOnce settings can be set on the Publish tab of the Project Properties.





Sams Teach Yourself Microsoft Visual C# 2005 in 24 Hours, Complete Starter Kit
Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit
ISBN: 0672327406
EAN: 2147483647
Year: N/A
Pages: 248
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net