Publishing Windows / WPF applications to the Virtual Directory

  1. Open the project properties from the Visual Studio (Project Menu -><Your Project Name> Properties…)
  2. Move to publish tab.
  3. “Publishing Folder Location” – Provide a location to publish the files.  This may be the remote location or the local machine’s folder path.  Ex: D:\Publish
  4. “Installation Folder URL” - Provide a remote location where the files can be downloaded by the user.  This can be a virtual folder path.  Ex:
  5. “Install Mode and Settings” – Here if your application can be used both in online and offline then choose “The application is available offline as well as launchable from start menu” or if your application can be used only in online then choose the either.
  6. Click on the Updates button and make sure the update location is same as the Installation folder URL if your application will be having updates.
  7. Click on options
    • Fill the description tab with the necessary details.
    • Make the Deployment tab as below
    • Make the Manifests tab as below
    • Leave File Associations tab as same.
  8.  Now click on publish now button to publish the files.  The published files will be at “Publishing Folder Location” you specified before.
  9. If the Publishing and Installation locations are different then copy and paste the published files to the Installation location.
  10. Now open the installation location path in the browser (if not opened include /publish.htm to the installation location path).  You can have a download link for the “One click application”.


Popular posts from this blog

Dynamically Creating Image in C#.Net


Data Table Vs List