Lottie-Windows/build
Alexandre Zollinger Chohfi 9c5168a739
Updated Cake build system to newer version, and updated source to net7.0. (#530)
* Updated Cake build system to newer version, and updated source to net7.0.

* Small fix on version number.
2023-04-18 22:59:16 -07:00
..
tools Updated Cake build system to newer version, and updated source to net7.0. (#530) 2023-04-18 22:59:16 -07:00
Build.bat Initial commit of Lottie-Windows source. 2018-11-21 12:18:46 -08:00
Clean.bat Tweaking the build to make it more sensible. 2018-12-01 17:04:41 -08:00
CleanObjs.cmd Adding some of the pieces needed for supporting image assets (#101) 2019-04-22 14:45:46 -07:00
Find-WindowsSDKVersions.ps1 Initial commit of Lottie-Windows source. 2018-11-21 12:18:46 -08:00
Install-WindowsSDK.ps1 Initial commit of Lottie-Windows source. 2018-11-21 12:18:46 -08:00
Install-WindowsSdkISO.ps1 [LottieGen] Added new AnimationController API support for LottieGen (#488) 2023-02-27 13:51:11 -08:00
README.md Prepare for gradients (#143) 2019-08-29 10:03:44 -07:00
Sign-Package.ps1 Initial commit of Lottie-Windows source. 2018-11-21 12:18:46 -08:00
SignClientSettings.json Initial commit of Lottie-Windows source. 2018-11-21 12:18:46 -08:00
StyleXaml.bat Initial commit of Lottie-Windows source. 2018-11-21 12:18:46 -08:00
UpdateHeaders.bat Initial commit of Lottie-Windows source. 2018-11-21 12:18:46 -08:00
build.cake Updated Cake build system to newer version, and updated source to net7.0. (#530) 2023-04-18 22:59:16 -07:00
build.ps1 Updated Cake build system to newer version, and updated source to net7.0. (#530) 2023-04-18 22:59:16 -07:00
header.txt Initial commit of Lottie-Windows source. 2018-11-21 12:18:46 -08:00
nuget.png Initial commit of Lottie-Windows source. 2018-11-21 12:18:46 -08:00

README.md

Building Lottie-Windows

Prerequisites

  • .NET Core 2.2 SDK or later
  • Windows SDK May 2019 Update (18362) or later
  • Visual Studio 2017 or later

As Azure DevOps does it

Open a VS2017 Developer Command Prompt and run build\build.bat. This will build everything in RELEASE configuration, run some checks, and produce nuget packages.

This is the slowest and most complete way to build. You should build this way to make sure your pull request can build on the official build system.

From Visual Studio

Open the Lottie-Windows.sln in Visual Studio and build as you normally would.

Use the Debug configuration to save a lot of time (the Release configuration of Lottie Viewer runs the .NET native compiler, which does a lot of slow optimization work).

Just LottieGen

Turbocharge your workflow with the smaller LottieGen\LottieGen.sln in Visual Studio. This solution does not include the Lottie Viewer code or the DLLs, but it does include all the source needed to translating Lottie .json files to Windows.UI.Composition.

This solution was added as a useful subset for use on slow laptops. It can even be built with Dotnet Build with no Visual Studio installed.