Several useful msbuild tasks.
Task | Description |
---|---|
CreateChangelogEntry | Given a Changelog file, this task will add an entry to the debian changelog. |
CreateReleaseNotesHtml | Given a markdown-style changelog file, this class will generate a release notes HTML file. |
StampChangelogFileWithVersion | Replaces the first line in a markdown-style Changelog/Release file with the version and date. |
SetReleaseNotesProperty | Given a markdown-style changelog file, this class will set a property to the changes mentioned in the topmost release. |
Task | Description |
---|---|
Archive | |
CpuArchitecture | Return the CPU architecture of the current system. |
DownloadFile | Download a file from a web address. |
FileUpdate | |
MakePot | |
MakeWixForDirTree | |
NormalizeLocales | Drops country code from directories and filenames to help work with Crowdin |
NUnit | Run NUnit (v2) on a test assembly. |
NUnit3 | Run NUnit3 on a test assembly. |
Split | |
StampAssemblies | |
UnixName | Determine the Unix Name of the operating system executing the build. |
UpdateBuildTypeFile |
Install .NET 6.0 SDK from https://dot.net/core-sdk-vscode .
Build and run tests:
dotnet pack --configuration Release SIL.ReleaseTasks.Dogfood/SIL.ReleaseTasks.Dogfood.csproj
dotnet test
- Run the Pack build command from inside Visual Studio on the SIL.ReleaseTasks.Dogfood project
- Run the Pack build command from inside Visual Studio on the SIL.BuildTasks project
- 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/