Home  /  Blog  /  Documentation  /  Installation guide

Installation Guide

Xsd2Code++ is a Visual Studio extension. It supports Visual Studio 2017, 2019, 2022. After the installation, you will find a new xsd2code++ entry in the tools menu of Visual Studio. Most commands are available in this menu. However, a lot of features are integrated in Solution Explorer.

Download And Installation Instructions

If you have more one person in your group that would like to test the software, you only need to download it once. The self-contained Installer for xsd2code++ can be distributed on an enterprise LAN by placing it on a file server. As such, it can also be used to install xsd2code++ on a computer that is not connected to the Internet.

To install xsd2code++ Plugin for Visual Studio, you need to do the following :

  • Exit all running Visual Studio instances.
  • Download xsd2code++.
  • After download run the self-installing exe file.
  • Read and accept the license agreement and then click Install at the bottom of the installer dialog.
  • During the installation, you will be prompted which versions of Visual Studio to install xsd2code++. Choose appropriate versions and proceed with installation.
  • You will be able to evaluate xsd2code++ for 15 days for free or enter your license key file.
Image showing the steps of installation

Activating your license

After installing xsd2code you will need to activate your license, if you don't have one you can get a free lincense that lasts for 15 days. To get your free licence or activate the one you already have simply look for the tools tab in Visual Studio, in the menu that opens if you have correctly installed Xsd2code++ you will see an option called "xsd2code++ About" like so :

Image showing where to find the option that lead to the license menu

Clicking this option will open a new window where you will be able to get a free license or activate one, this window aslo give you information about your current license if you have one.

Image showing what the lincense menu looks like

To get a free trial license simply choose the appropriate option and another window will appear asking you for your email, one the information is entered and sent an email containing the lincense will be sent to the adressed you've given.

Your lincense comes in the form of a .lincense file, to activate it you can choose the appropriate option in the license window shown above and indicate to the program where your lincense is located.

In case something goes wrong or you prefer to do it this way you can also simply put your license in the xsd2code folder found in your documents. Like so : (the exact path is C:\Users\"your user"\Documents\Xsd2code)

Image showing where to put your license.

Dealing with previous versions

xsd2code++ does not allow you to install its different versions in the same Visual Studio version on a single machine. This is why the installation will delete the existing version automatically.

Uninstallation Instructions

Exit Visual Studio completely, open the Windows Control Panel and then, On Windows 8, 10 go to "Programs -> Programs and Features", select xsd2code++ <version> and click click Uninstall. On Windows Go to "Add or Remove Programs" Select "xsd2code++ <version>" in the list of installed programs and click "Remove" to run the uninstaller.

Even if the uninstall fails, as it may in some cases, continue on with the rest of the uninstall instructions :

  • Remove xsd2code++ Installation directory located here, by default: C:\Program files\xsd2code or, on 64-bit Windows, C:\Program Files (x86)\xsd2code.
  • Remove all xsd2code.* files from My documents\Visual Studio <version>\Addins folder.
  • Remove user profile data by removing directory : %appdata%\xsd2code.
  • The xsd2code++ uninstall will leave some Windows registry entries. Normally, these extra entries are harmless and it is not necessary to remove them. Note: Registry editing is a potentially hazardous undertaking. Extra entries are located in the following key : HKEY_CURRENT_USER\Software\xsd2Code.