Lottie-Windows/build
Simeon aeb87289e1
Prepare for gradients (#143)
* Preparing for implementation of gradients.

* Make LottieGenCorpus more deterministic.
Previously the output depended on the width of the console, and sorting ignored case.

* Upgrading to SDK 18362 (May 2019) so that we can use RadialGradientBrush.
2019-08-29 10:03:44 -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 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 Add data representation of IRandomAccessStream for use by LoadedImage… (#112) 2019-05-17 16:10:19 -07:00
build.ps1 Initial commit of Lottie-Windows source. 2018-11-21 12:18:46 -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.