Lottie-Windows/build
Simeon fad5d46d7d
Pin a version of Cake to work around recent Cake change that broke the build. (#420)
2021-02-10 14:39:24 -08:00
..
tools Pin a version of Cake to work around recent Cake change that broke the build. (#420) 2021-02-10 14:39:24 -08: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 Initial commit of Lottie-Windows source. 2018-11-21 12:18:46 -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 Convert LottieGen to .NET 5 and create LottieGen.MsBuild package. 2021-02-08 11:36:30 -08:00
build.ps1 Refactoring and clean up that does not change the output. (#209) 2020-01-09 10:02:53 -08: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.