Installing for .Net 5 & Above
Installing and using Bunifu Framework in .NET 5 projects and above.
Last updated
Installing and using Bunifu Framework in .NET 5 projects and above.
Last updated
Bunifu Framework is always pushing ahead in compatibility with newer releases of .NET. As of this writing, we currently support the latest releases of .NET including: 5, 6, 7, 8.
IMPORTANT
For those migrating their projects from .Net Framework to newer releases of .NET (e.g. 8.0), please be advised that we have revamped our licensing architecture from the old .Net Framework standard. Therefore, right after installing any Bunifu UI version from 7.0.0 and above, please ensure you delete the "Licenses.licx" file in Solution Explorer > Properties section, then clean and rebuild your project. All our releases starting from version 7.0.0 support .NET 5 and above.
To install Bunifu UI via NuGet Package Manager Console, run:
To install Bunifu Charts, run:
Begin by launching Visual Studio (preferably 2019 and above). For this demo, we will use Visual Studio 2022.
Click on Create New Project (You can create a C# or VB.NET project), then choose your project type:
Enter your project name and choose the project directory:
Select your project's target framework. As of this writing, you can choose from several options including .NET 5, 6, 7 or 8. In our case, we'll proceed with .NET 8.0 (Long Term Support):
Once done, simply hit enter or click Create for Visual Studio to build your project. The project will be created and a window similar to this will be visible:
From here, proceed to launching NuGet Package Manager, the package manager which hosts Bunifu UI and that we will use to install the product directly in our new project. To do this, in Visual Studio's menu, go to Project > Manage NuGet Packages...
In the search input displayed within the Browse tab, type "Bunifu" and click Install:
You will then be required to accept the license terms before installing. Ensure you accept them and proceed to finishing the installation process:
Once completed, switch back to your Form1 Designer and (depending on where your Toolbox is), open the Toolbox to the left panel area of Visual Studio. There you will see the list of UI controls populated for you to start using in your project:
It may take some few seconds before the controls appear in the Toolbox. However, after a minute or so, in case you happen not to see Bunifu controls appear, close the Toolbox then reopen it by accessing the View > Toolbox sub-menu. Alternatively, you can use a keyboard shortcut by pressing
Ctrl+Alt+X
having closed the Toolbox. This action will refresh the Toolbox.
Now go ahead and add any control to your Form. This is where you will be required to provide your license details:
Enter your license information which you received after purchasing your license then hit 'Enter'. Once your license is validated and activated for your device, an activation success dialog will popup confirming your license has been activated:
If you have an Ultimate Bundle License with several products, feel free to select the product(s) as shown below to activate the entire products bundle on your device:
Once the activation is successful, the control you dragged will successfully be added to your form:
If you face any issues during activation, please don't hesitate to reach out to us using the chat bubble at the bottom right area of our homepage.