Document directory
- 1. Apply for your open-source project at codeplex
- 2. Publish a clickonce Application
- 3. Package Application Files
- 4. Release the clickonce program on codeplex
- 5. download and use the clickonce Program
- Reference:
Codeplex is Microsoft's open-source Engineering website. It involves many open-source projects with the latest Microsoft technologies. You can also build your own open-source projects. You should be familiar with it.
Clickonce is a deployment technology that allows you to create self-update Windows-based applications that can be installed and run with minimal user interaction.
Codeplex supports online release of clickonce, which can reduce the cost of installation, deployment, and especially update. Of course, it can only be an open-source program.
The following describes how to publish a clickonce application/
Release Step 1 apply for your open-source project at codeplex
Register on codeplex, add an open-source project, and submit the source code. The specific process is not described in detail. A second-level domain name will be obtained after application. The open-source project I applied for is http ://Virtualkeyboard.Codeplex.com/
2. Publish a clickonce Application
I use vs2010, but it should be slightly different from others. Select the executable project file and go to "properties" -- "release"
Set publishing information
Publishing location publish \ best default
The installation folder must be set to http ://Virtualkeyboard.Codeplex.com/releases/clickonce/ the bold part is the second-level domain name of codeplex.
The following are some optional operations:
Set release version
Set the release version number. You can also select the auto-increment revision number.
Set Application Files
You need to add and exclude unnecessary files.
Set Update options
Check for updates at startup.
Set the program list
You can set the program description and create Desktop shortcuts and file associations.
After setting some items, click Publish now,
3. Package Application Files
After the program is released, these files will be generated in the bin \ release \ app. Publish \ directory, and all these files will be compressed into a compressed package app.publish.zip
4. Release the clickonce program on codeplex
Go to the download page of codeplex and select create new release to enter name
Select this is a clickonce release to upload the latest app.publish.zip file.
Then add release notes. OK,
Codeplex checks the configuration of the application file. If you encounter any problems, check whether Step 1 is complete.
5. download and use the clickonce Program
After the release, go to the download page of codeplex and select clickonce installer.
This is where the browser downloads the application file and runs automatically if IE is used.
The startup and installation prompt will appear after running, then the program will be officially downloaded and installed. If there is no system environment in. net, it will automatically go to the official website for updates.
After the configuration is complete, the system runs automatically. If you select "create desktop shortcut" in the list, you will see the desktop shortcut. Otherwise, you can only run the program using the application.
Now, after the program runs successfully, clickonce is deployed.
Reference:
Creating a clickonce release
Http://codeplex.codeplex.com/wikipage? Title = clickonce # creating