{"id":27235514,"url":"https://github.com/green-code-initiative/creedengo-csharp-test-project","last_synced_at":"2025-04-10T16:47:06.283Z","repository":{"id":232932960,"uuid":"784408948","full_name":"green-code-initiative/creedengo-csharp-test-project","owner":"green-code-initiative","description":"Tests for the latest version of the ecoCode-csharp NuGet package.","archived":false,"fork":false,"pushed_at":"2025-02-09T09:02:45.000Z","size":80,"stargazers_count":3,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-09T10:19:17.692Z","etag":null,"topics":["csharp","ecodesign","testing"],"latest_commit_sha":null,"homepage":"https://green-code-initiative.org","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/green-code-initiative.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-09T19:44:54.000Z","updated_at":"2025-02-09T09:02:47.000Z","dependencies_parsed_at":"2024-04-12T14:42:34.364Z","dependency_job_id":"0eb1d3e3-56f5-4652-a27b-6c694816176d","html_url":"https://github.com/green-code-initiative/creedengo-csharp-test-project","commit_stats":null,"previous_names":["green-code-initiative/ecocode-csharp-test-project","green-code-initiative/creedengo-csharp-test-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/green-code-initiative%2Fcreedengo-csharp-test-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/green-code-initiative%2Fcreedengo-csharp-test-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/green-code-initiative%2Fcreedengo-csharp-test-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/green-code-initiative%2Fcreedengo-csharp-test-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/green-code-initiative","download_url":"https://codeload.github.com/green-code-initiative/creedengo-csharp-test-project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248254392,"owners_count":21073076,"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":["csharp","ecodesign","testing"],"created_at":"2025-04-10T16:47:05.806Z","updated_at":"2025-04-10T16:47:06.268Z","avatar_url":"https://github.com/green-code-initiative.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿A project that can be used to test the latest version of the [creedengo-csharp](https://github.com/green-code-initiative/creedengo-csharp) NuGet package.\n\n### 1. Set up your local environment\n\n- Install/update the .NET SDK on your machine, the minimum required version is specified in the creedengo-charp's [global.json](https://github.com/green-code-initiative/creedengo-csharp/blob/main/global.json) file.\n- Clone this repository locally on your machine. Since this project is used to test the very latest creedengo-csharp rules, including the beta versions, it is recommended to check it out often.\n- Optional : install the IDE of your choice for C# (e.g. Visual Studio, Visual Studio Code, Rider, etc.) if you want to test with a GUI.\n\n### 2. Test the rules through the CLI\n\n- Open a command window and navigate to the solution directory.\n- Run the following commands: ```dotnet clean``` then ```dotnet build```\n- The 2nd command output will contain all the rules violations in the project.\n\n### 3. Test the rules in your IDE\n\n- Open your IDE and load the solution.\n- Rebuild the solution, to make sure the NuGet packages are restored and all the code is re-analyzed.\n- Open the error list window in your IDE, you should see all the rules violations in the project.\n- Open one of the EC*.cs files in the project, you should see the rules violations highlighted in the code.\n  - For the rules that support generated code fixes, you can use your IDE's quick action to see what the analyzers automatically propose to fix the issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreen-code-initiative%2Fcreedengo-csharp-test-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreen-code-initiative%2Fcreedengo-csharp-test-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreen-code-initiative%2Fcreedengo-csharp-test-project/lists"}