Version
Google Translate

Migrating from Open Source Templates

VCP Studio provides a way for the users who already started the development before purchasing a license to auto-upgrade their solutions with Pro modules. You can use this functionality through VCP Studio UI or VCP Studio CLI:

  • A new button labeled Upgrade to Pro will be visible if you have a license but the current solution is created with open-source (free) license.

upgrade-to-pro

  • Alternatively, you can use the following VCP Studio CLI command to achieve the same functionality:

    vcp upgrade [-t <template-name>] [options]
    
    Examples:
    
    vcp upgrade -t app
    vcp upgrade -t app --language-management --gdpr --audit-logging-ui --text-template-management --openiddict-pro
    vcp upgrade -t app-nolayers --audit-logging-ui
    vcp upgrade -t app-nolayers -p D:\MyProjects\MyProject
    

Changes in the solution

Module changes

This command will remove the following modules from your solution:

  • Verto.Vcp.Account
  • Verto.Vcp.Identity
  • Verto.Vcp.TenantManagement
  • Verto.Vcp.FermionXLiteTheme

And install the following modules to your solution:

  • Verto.Vcp.Account.Pro
  • Verto.Vcp.Identity.Pro
  • Verto.Vcp.FermionXTheme
  • Verto.Saas
  • Verto.Vcp.OpenIddict.Pro (Optional)
  • Verto.Vcp.AuditLogging.Pro (Optional)
  • Verto.Vcp.LanguageManagement (Optional)
  • Verto.Vcp.TextTemplateManagement (Optional)
  • Verto.Vcp.Gdpr (Optional)

Other changes

The command will also do the following changes in your solution:

  • It will add nuget.vcp.vertocore.com NuGet source to NuGet.config file.
  • It will create or update appsettings.secrets.json files to place the license key needed for Pro module usage.
  • It will update the database. (And it will create a new migration if the solution uses EntityFramework Core)
  • It will run install-libs command at the end.

Things to pay attention before using

  • The command covers the most common scenarios, but there is still a possibility that it can mess up something in your solution. Therefore, we strongly recommend a version control system (like Git) to track what is changed in your solution and revert if needed.
  • The command will not remove your custom codes that may be related with the removed modules listed above. So there may be build errors if you referenced one of those modules. You can clear them manually.
In this document