XComponent.UI has an official NuGet package.
To install XComponent UI, run the following command in the Package Manager Console:
PM> Install-Package XComponent.UI -Pre
And if you need unit testing helpers:
PM> Install-Package XComponent.UI.TestTools -Pre
You can also build it locally from the source code.
The build as been ported to Fake to make it even easier to compile.
Clone the source code from GitHub:
git clone https://github.com/Invivoo-software/xcomponent.ui
There is no need to install anything specific before running the build.
Once in the directory, run the build.cmd with the target All:
build All
The All
targets runs the following targets in order:
- Build
- Test
- Create Nuget package
To run unit tests from the command line, run the following command:
build RunTests
To create and publish nuget packages locally, specify the package version and the nuget key:
build PublishPackage config=Release version=<version> nugetkey=<key>