Problem:
When activating a valid Bunifu Framework license in the WinForms UI (versions 7.0-8.0), you may encounter the error:
“The license details you entered are incorrect. Please confirm then try again.”
This issue typically arises from conflicts with outdated controls or residual files from previous installations.
Resolution Steps
1. Prepare Your Environment
- Close Visual Studio: Ensure all instances are fully closed (check Task Manager for lingering processes).
- Download the Licensing CLI Tool:
- Visit the official Bunifu Licensing CLI download page.
- Save the ZIP file to a known location (e.g.,
Downloads
).
2. Clear Existing Licenses
- Extract the CLI Tool: Unzip the downloaded folder.
- Open the Command Prompt in the CLI Directory:
- Navigate to the unzipped folder.
- Type
cmd
in the folder’s address bar and press Enter.
- Remove Old Licenses:
blc --del-ui
This deletes all cached licenses tied to your system.
3. Activate Your License
- Run the activation command:
blc --ac-ui
- Enter your Bunifu account email and license key when prompted.
4. Reinstall Bunifu Packages
- Create a New Windows Forms Project:
- Open Visual Studio (run as Administrator for best results).
- Start a new project to avoid legacy conflicts.
- Install Bunifu v7.2.0 via NuGet:
- Go to Tools > NuGet Package Manager > Manage NuGet Packages for Solution.
- Search for
Bunifu.UI.WinForms
and install v7.2.0.
- Validate Installation:
- Open
Form1
, drag Bunifu controls onto the form, and build/run the project. - If successful, proceed to upgrade.
- Open
5. Upgrade to v8.0.0
- Update via NuGet:
- Return to NuGet Package Manager and upgrade to v8.0.0.
- Resolve Framework Errors:
- If errors like “controls not supported in target framework” appear:
- Delete problematic controls from the form.
- Re-add them from the updated v8.0.0 toolbox.
- Rebuild the project.
- If errors like “controls not supported in target framework” appear:
6. Clean Up Legacy Files
(Critical for resolving persistent conflicts)
- Delete Old Bunifu Files:
- Navigate to your project’s root folder (e.g.,
%USERPROFILE%\source\repos\YourProject
). - Remove all Bunifu-related folders in the
packages
directory.
- Navigate to your project’s root folder (e.g.,
- Edit Configuration Files:
- Open
packages.config
and delete all XML lines referencing Bunifu (e.g.,<package id="Bunifu.UI.WinForms" ... />
).
- Open
- Remove DLL References:
- In Visual Studio’s Solution Explorer, right-click References and remove any Bunifu DLLs.
7. Final Validation
- Reinstall v7.2.0 and Test:
- Re-add Bunifu v7.2.0 via NuGet.
- Create a new test form with Bunifu controls and ensure no errors occur.
- Upgrade to v8.0.0 Again:
- Repeat the upgrade process.
- Delete the test form and rebuild your main project.
Still Stuck?
If licensing issues persist:
- Contact Support: Email [email protected] or use the live chat.
- Renew Expired Licenses: These steps only apply to active licenses.
Note: Always ensure your Visual Studio and Windows are fully updated to avoid compatibility issues.
Leave A Comment