1 minute read

Every once in a while you might run into a licensing problem when using CodeSmith Generator. This can be when the Visual Studio add-in becomes corrupted, or you encounter some kind of licensing problem and you have problems activating. You can fix these related problems by resetting the license file and reactivating your copy of CodeSmith Generator.

First you will need to exit all CodeSmith Generator related applications (CodeSmith Generator Studio, Visual Studio) and follow the steps below.

  1. Open the windows run (windows key + r or start -> run) dialog box and type “cmd”

  2. And type cs /resetlicense hit enter and type y and hit enter again. This will remove any CodeSmith Generator license files from your computer.

    Your command prompt window should look something like this.

    C:\Users\Administrator>cs /resetlicense
    CodeSmith Generator Console v5.3.0
    Copyright (c) 2002-2010 CodeSmith Tools, LLC. All rights reserved.
    WARNING: This will reset your license files and you will need to re-register and activate your license. It will not extend your trial period.
    Press Y to confirm that you would like to reset your license: y
    Reset license complete.
  3. Next, launch CodeSmith Generator Studio and try to register your key. You should now see the activation prompt.

Join the mailing list

Get notified of new posts and related content to your inbox. I will never sell you anything and I will NEVER sell your email address.