Follow these steps to publish your application:
- Open your project.
- Click on the build menu.
- There will be a publish “App Name” option.
- Click on that.
- A wizard will open up. You can publish to a website or to your computer itself.
- You can also give the setup to a friend.
- But he should have the corresponding .NET framework installed.