{"id":30743170,"url":"https://github.com/slidoapp/slido-for-msbuild","last_synced_at":"2026-04-17T05:02:14.443Z","repository":{"id":311612980,"uuid":"1044251276","full_name":"slidoapp/slido-for-msbuild","owner":"slidoapp","description":"Slido tasks for Microsoft Build system.","archived":false,"fork":false,"pushed_at":"2025-09-03T13:31:23.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-24T18:03:58.472Z","etag":null,"topics":["csharp","dotnet","msbuild","nuget"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slidoapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-25T12:05:26.000Z","updated_at":"2025-09-03T13:31:27.000Z","dependencies_parsed_at":"2025-08-25T15:29:21.329Z","dependency_job_id":"e4d79e1a-7dee-4113-86f7-4ba306aee39d","html_url":"https://github.com/slidoapp/slido-for-msbuild","commit_stats":null,"previous_names":["slidoapp/slido-for-msbuild"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slidoapp/slido-for-msbuild","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slidoapp%2Fslido-for-msbuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slidoapp%2Fslido-for-msbuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slidoapp%2Fslido-for-msbuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slidoapp%2Fslido-for-msbuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slidoapp","download_url":"https://codeload.github.com/slidoapp/slido-for-msbuild/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slidoapp%2Fslido-for-msbuild/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","msbuild","nuget"],"created_at":"2025-09-04T02:03:33.070Z","updated_at":"2026-04-17T05:02:14.404Z","avatar_url":"https://github.com/slidoapp.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slido Build Tasks\n\n\u003e Build tasks for **msbuild** by Slido developers.\n\n## ChangeFileVersion Task\n\n\u003e Build task to change the Version in the File table of MSI package. \n\nThis task has been added to handle cases where files need to be downgraded. By default, Windows Installer does not overwrite files if the version in the package is the same or lower than the one already installed (for `*.dll` files, this corresponds to the `AssemblyVersion`). If a problematic file needs to be downgraded, there is no built-in mechanism to achieve this. To work around this, we must “trick” Windows Installer into believing that a higher version is being installed, even though the actual file version is lower.\n\nTo use this task, first add the `\u003cUsingTask\u003e` element to the `.targets` file and specify the `TaskName` and `AssemblyFile` attributes. The `TaskName` is in this case `Slido.Build.ChangeFileVersion`.\n\nThen add `\u003cItemGroup\u003e` with e.g. `\u003cChangeFile\u003e` elements as in following example. `Include` attribute contains the file name that should have the version updated and the `\u003cVersion\u003e` element contains the new version value. \n\n```xml\n\u003cItemGroup\u003e\n  \u003cChangeFile Include=\"Sentry.dll\"\u003e\n    \u003cVersion\u003e5.11.1.1\u003c/Version\u003e\n  \u003c/ChangeFile\u003e\n  \u003cChangeFile Include=\"Serilog.dll\"\u003e\n    \u003cVersion\u003e4.3.0.1\u003c/Version\u003e\n  \u003c/ChangeFile\u003e\n\u003c/ItemGroup\u003e\n```\n\nTo use the task in particular target, Create `\u003cChangeFileVersion\u003e` element with `FIles` and `MsiPath` attributes. In the example the task is executed in the `AfterCompileAndLink` target where the MSI database is already build.\n\n```xml\n\u003cTarget Name=\"AfterCompileAndLink\"\u003e \n  \u003cChangeFileVersion Files=\"@(ChangeFile)\" MsiPath=\"$(TargetPath)\" /\u003e\n\u003c/Target\u003e\n```\n\n## License\n\nSource code is licensed under [MIT License](LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslidoapp%2Fslido-for-msbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslidoapp%2Fslido-for-msbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslidoapp%2Fslido-for-msbuild/lists"}