Identifies the assembly that should be executed when this ClickOnce application is run on a client computer.
<entryPoint> <assemblyIdentity name version processorArchitecture language /> <commandLine file parameters /> </entryPoint>
The entryPoint element is required and is in the asm.v2 namespace. There may only be one entryPoint element defined in an application manifest.
The entryPoint element has the following attributes.
Required. Identifies the main or function entry point.
Required. The dependent assembly for the entry point.
entryPoint has the following elements.
Required. Must be a child of the entryPoint element. It has no child elements and has the following attributes.
Required. A local reference to the startup assembly for the ClickOnce application.
Required. Describes the action to take with the entry point. The only valid value is run; if a blank string is supplied, run is assumed.
The following code example illustrates entryPoint elements in an application manifest for a ClickOnce application. This code example is part of a larger example provided for the ClickOnce Application Manifest topic.
<!-- Identify the main code entrypoint. --> <!-- This code runs the main method in an executable assembly. --> <entryPoint> <commandLine file="Notepad.exe" parameters="run" /> </entryPoint>