Skip to content

Repository files navigation

Readme

Several useful msbuild tasks.

NuGet version (SIL.BuildTasks)Build, Test and Pack

Current Tasks

TaskDescription
CreateChangelogEntryGiven a Changelog file, this task will add an entry to the debian changelog.
CreateReleaseNotesHtmlGiven a markdown-style changelog file, this class will generate a release notes HTML file.
StampChangelogFileWithVersionReplaces the first line in a markdown-style Changelog/Release file with the version and date.
SetReleaseNotesPropertyGiven a markdown-style changelog file, this class will set a property to the changes mentioned in the topmost release.
TaskDescription
Archive
CpuArchitectureReturn the CPU architecture of the current system.
DownloadFileDownload a file from a web address.
FileUpdate
MakePot
MakeWixForDirTree
NormalizeLocalesDrops country code from directories and filenames to help work with Crowdin
NUnitRun NUnit (v2) on a test assembly.
NUnit3Run NUnit3 on a test assembly.
Split
StampAssemblies
UnixNameDetermine the Unix Name of the operating system executing the build.
UpdateBuildTypeFile

Build

Windows or Linux

Install the latest .NET SDK from https://dotnet.microsoft.com/download .

Build and run tests:

dotnet pack --configuration Release SIL.ReleaseTasks.Dogfood/SIL.ReleaseTasks.Dogfood.csproj
dotnet test

Building a local package of SIL.BuildTasks for testing (Windows)

  1. Run the Pack build command from inside Visual Studio on the SIL.ReleaseTasks.Dogfood project
  2. Run the Pack build command from inside Visual Studio on the SIL.BuildTasks project
  3. Install the package from the output folder into your local Nuget source e.g.nuget.exe add output/Debug/SIL.BuildTasks.2.3.5-beta.1.nupkg -Source /c/Repositories/DevelopmentPackages/

About

Several useful msbuild tasks

Topics

Resources

Stars

5 stars

Watchers

20 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages