{"id":15409956,"url":"https://github.com/havendv/gtk","last_synced_at":"2025-10-16T22:30:20.089Z","repository":{"id":197879561,"uuid":"699523390","full_name":"HavenDV/Gtk","owner":"HavenDV","description":"GTK workload and separate `net7.0-gtk` TargetFramework like Tizen.NET to use GTK in single project solutions and differentiate it from `net7.0`","archived":false,"fork":false,"pushed_at":"2023-10-02T22:18:01.000Z","size":172,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-26T10:54:56.166Z","etag":null,"topics":["dotnet","gtk","net6","net7","net8","sdk","targetframework","tfm","workload"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/HavenDV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-02T19:56:58.000Z","updated_at":"2024-03-07T05:08:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"44139699-170d-4880-b721-7ac9cf06a171","html_url":"https://github.com/HavenDV/Gtk","commit_stats":null,"previous_names":["havendv/gtk"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FGtk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FGtk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FGtk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FGtk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HavenDV","download_url":"https://codeload.github.com/HavenDV/Gtk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236748983,"owners_count":19198622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dotnet","gtk","net6","net7","net8","sdk","targetframework","tfm","workload"],"created_at":"2024-10-01T16:42:09.283Z","updated_at":"2025-10-16T22:30:14.669Z","avatar_url":"https://github.com/HavenDV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gtk\n\n[![dotnet](https://github.com/HavenDV/Gtk/actions/workflows/dotnet.yml/badge.svg?branch=main)](https://github.com/HavenDV/Gtk/actions/workflows/dotnet.yml)\n[![License: MIT](https://img.shields.io/github/license/HavenDV/Gtk)](https://github.com/HavenDV/Gtk/blob/main/LICENSE.txt)\n[![Discord](https://img.shields.io/discord/1115206893015662663?label=Discord\u0026logo=discord\u0026logoColor=white\u0026color=d82679)](https://discord.gg/Ca2xhfBf3v)\n\n\u003cb\u003eGtk\u003c/b\u003e is separate TPM for developing Gtk applications within a single project, if there are other TargetFrameworks using the main `net7.0` TPM.\n\n## Usage\nJust install and add `net7.0-gtk` to `TargetFrameworks`.\n\n## Install\nYou can install Gtk workload for .NET 6.0/7.0/8.0 by using the installer script.\n- On Linux / macOS:\n```\ncurl -sSL https://raw.githubusercontent.com/HavenDV/Gtk/main/scripts/workload-install.sh | sudo bash\n```\nif you want to install a specific version of Gtk workload or install to a specific directory, use the following command:\n```\ncurl -sSL https://raw.githubusercontent.com/HavenDV/Gtk/main/scripts/workload-install.sh | bash /dev/stdin -v \u003cversion\u003e -d \u003cdirectory\u003e\n```\n- On Windows:\n```\nInvoke-WebRequest 'https://raw.githubusercontent.com/HavenDV/Gtk/main/scripts/workload-install.ps1' -OutFile 'workload-install.ps1';\n./workload-install.ps1 [-v \u003cversion\u003e] [-d \u003cdirectory\u003e]\n```\nYou can see the Gtk workload as follows if it is properly installed.\n```\nPS D:\\workspace\u003e dotnet workload list\n\nThis command lists only workloads that were installed via `dotnet workload install` in this version of the SDK and not those that were installed via Visual Studio.\n\nInstalled Workload Ids\n----------------------\nmaui\ngtk\n\nUse `dotnet workload search` to find additional workloads to install.\n\nUpdates are avaliable for the following workload(s): maui gtk. Run `dotnet workload update` to get the latest  \n```\n\n## Development\nYou can test this project using these commands(tested on macOS) in `src/tasks/tasks` folder:\n```\ndotnet build /t:TestWorkload\ndotnet build /t:WorkloadUninstall\n\nother possible targets(it already included in targets above):\nDownloadDotnetInstall\nDotnetInstall\nWorkloadInstall\nBuildPackages\nCleanArtifactsAndTemporaryFiles\n\nYou can override these properties:\n/p:UseCurrentDotnet=true - Will install workload to current dotnet instead downloaded.\n```\n\n### Disclaimer\nAlthough this is a working solution, I have simplified some things regarding workload and manifest,\nwhich could theoretically cause problems (for example, when upgrading to a new sdk version).  \nI'll be glad to hear about it in issues.\n\n### Docs\nOfficial documentation regarding the design of Workloads and Sdks:\n- https://github.com/dotnet/sdk/tree/main/documentation/general/workloads\n- https://github.com/dotnet/designs/blob/main/accepted/2020/workloads/workloads.md\n- https://github.com/dotnet/designs/blob/main/accepted/2020/workloads/workload-resolvers.md\n- https://github.com/dotnet/designs/blob/main/accepted/2020/workloads/workload-manifest.md\n- https://github.com/dotnet/designs/blob/main/accepted/2021/workloads/workload-installation.md\n- MAUI Workload - https://github.com/dotnet/maui/tree/main/src/Workload\n- Tizen Workload - https://github.com/Samsung/Tizen.NET/tree/main/workload\n\n### Support\nPriority place for bugs: https://github.com/HavenDV/Gtk/issues  \nPriority place for ideas and general questions: https://github.com/HavenDV/Gtk/discussions  \nDiscord: https://discord.gg/g8u2t9dKgE  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhavendv%2Fgtk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhavendv%2Fgtk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhavendv%2Fgtk/lists"}