{"id":25091719,"url":"https://github.com/tcbroad/bindinggenerator","last_synced_at":"2025-09-06T09:46:59.219Z","repository":{"id":73992298,"uuid":"262858327","full_name":"TCBroad/BindingGenerator","owner":"TCBroad","description":"Generates assembly binding redirects for .net projects from their bin directories","archived":false,"fork":false,"pushed_at":"2020-05-10T19:30:53.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-21T18:03:27.224Z","etag":null,"topics":["app-config","assembly-binding","binding-redirect","c-sharp","netframework","web-config"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TCBroad.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":"2020-05-10T19:16:40.000Z","updated_at":"2025-02-13T16:45:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9bee693-28ff-4b3e-86ca-fc4f833fce99","html_url":"https://github.com/TCBroad/BindingGenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TCBroad/BindingGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TCBroad%2FBindingGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TCBroad%2FBindingGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TCBroad%2FBindingGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TCBroad%2FBindingGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TCBroad","download_url":"https://codeload.github.com/TCBroad/BindingGenerator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TCBroad%2FBindingGenerator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273886640,"owners_count":25185509,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"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":["app-config","assembly-binding","binding-redirect","c-sharp","netframework","web-config"],"created_at":"2025-02-07T13:55:47.863Z","updated_at":"2025-09-06T09:46:59.134Z","avatar_url":"https://github.com/TCBroad.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BindingGenerator\nGenerates assembly binding redirects for .net projects from their bin directories\n\n## Purpose\nTrying to work out what assemblies need binding redirects is a huge pain, and working out what those versions should be is an even bigger one. \nNuGet versions don't match assembly versions and then you start hating life!\n\nThis application enumerates the dlls in a folder and generates the xml to configure binding redirects for everything it finds.\n\n## Usage\nFrom the command line:\nBindingGenerator.Console \u003cinput path\u003e \u003coutput filename\u003e [string to exclude]\n\n- input path is fairly obvious - where should it look for dlls\n- output path is where you want the xml written. This will overwrite any file that's there without asking so be careful.\n- string to exclude is an optional param that will exclude dlls that match a string. This isn't clever and doesn't take wildcards, it just removes the value from the output if it contains the string.\n\n### Example\nIn a folder containing the following\n```\nMyApp.Core.dll\nMyApp.Main.dll\nMyApp.exe\nMicrosoft.ApplicationInsights.dll\nSystem.Memory.dll\n```\n```BindingGenerator.Console c:\\path\\to\\my\\app\\bin\\Debug\\net472 c:\\binding-redirects.txt MyApp```\n\nwould generate the follwing in c:\\binding-redirects.txt\n\n```xml\n\u003cassemblyBinding xmlns=\"urn:schemas-microsoft-com:asm.v1\"\u003e\n  \u003cdependentAssembly\u003e\n    \u003cassemblyIdentity name=\"Microsoft.ApplicationInsights\" publicKeyToken=\"31bf3856ad364e35\" culture=\"neutral\" /\u003e\n    \u003cbindingRedirect oldVersion=\"0.0.0.0-2.11.0.0\" newVersion=\"2.11.0.0\" /\u003e\n  \u003c/dependentAssembly\u003e\n  \u003cdependentAssembly\u003e\n    \u003cassemblyIdentity name=\"System.Memory\" publicKeyToken=\"cc7b13ffcd2ddd51\" culture=\"neutral\" /\u003e\n    \u003cbindingRedirect oldVersion=\"0.0.0.0-4.0.1.1\" newVersion=\"4.0.1.1\" /\u003e\n  \u003c/dependentAssembly\u003e\n\u003c/assemblyBinding\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcbroad%2Fbindinggenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcbroad%2Fbindinggenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcbroad%2Fbindinggenerator/lists"}