{"id":26667330,"url":"https://github.com/sandersade/assemblyrebinding","last_synced_at":"2025-07-22T05:03:03.285Z","repository":{"id":70126146,"uuid":"166979433","full_name":"SanderSade/AssemblyRebinding","owner":"SanderSade","description":"Parse .NET build error messages to binding redirects","archived":false,"fork":false,"pushed_at":"2019-01-22T13:22:09.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T19:46:41.346Z","etag":null,"topics":["assembly-rebinding","assembly-references","dotnet-build","error-parser","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SanderSade.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-22T11:04:15.000Z","updated_at":"2019-01-22T13:22:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"cebb12d5-4f69-47ee-9eec-8c83b67e0ce9","html_url":"https://github.com/SanderSade/AssemblyRebinding","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SanderSade/AssemblyRebinding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanderSade%2FAssemblyRebinding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanderSade%2FAssemblyRebinding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanderSade%2FAssemblyRebinding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanderSade%2FAssemblyRebinding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SanderSade","download_url":"https://codeload.github.com/SanderSade/AssemblyRebinding/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanderSade%2FAssemblyRebinding/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266430671,"owners_count":23927165,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["assembly-rebinding","assembly-references","dotnet-build","error-parser","visual-studio"],"created_at":"2025-03-25T19:37:02.713Z","updated_at":"2025-07-22T05:03:03.255Z","avatar_url":"https://github.com/SanderSade.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## AssemblyRebinding\n\n[Get AssemblyRebinding from Releases](https://github.com/SanderSade/AssemblyRebinding/releases)\n\nIf you have been programming .NET, chances are that these are very familiar messages:\n\n```\n1\u003e  Consider app.config remapping of assembly \"System.Runtime.Serialization.Primitives, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.10.0\" [C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.2\\Facades\\System.Runtime.Serialization.Primitives.dll] to Version \"4.2.0.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net461\\lib\\System.Runtime.Serialization.Primitives.dll] to solve conflict and get rid of warning.\n1\u003e  Consider app.config remapping of assembly \"System.Runtime.Serialization.Xml, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.10.0\" [C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.2\\Facades\\System.Runtime.Serialization.Xml.dll] to Version \"4.1.3.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net461\\lib\\System.Runtime.Serialization.Xml.dll] to solve conflict and get rid of warning.\n1\u003e  Consider app.config remapping of assembly \"System.Security.Cryptography.Algorithms, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"0.0.0.0\" [] to Version \"4.3.0.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Microsoft\\Microsoft.NET.Build.Extensions\\net461\\lib\\System.Security.Cryptography.Algorithms.dll] to solve conflict and get rid of warning.\n```\n![VS warning](https://raw.githubusercontent.com/dotnet/docs/master/docs/framework/configure-apps/media/clr-assemblyrefwarning.png)\n\nThese messages during build are especially common after changing the target .NET framework. Visual Studio is supposed to fix these by itself when `\u003cAutoGenerateBindingRedirects\u003etrue\u003c/AutoGenerateBindingRedirects\u003e` in the .csproj is true, but unfortunately this isn't the case.\n\nAsssemblyRebinding utility processes these messages and puts out the binding redirect (remapping) entries suitable for App.config or Web.config:\n\n```\n\u003cdependentAssembly\u003e\n\t\u003cassemblyIdentity name=\"System.Runtime.Serialization.Primitives\" publicKeyToken=\"b03f5f7f11d50a3a\" culture=\"neutral\" /\u003e\n\t\u003cbindingRedirect oldVersion=\"0.0.0.0-4.0.10.0\" newVersion=\"4.2.0.0\"/\u003e\n\u003c/dependentAssembly\u003e\n\u003cdependentAssembly\u003e\n\t\u003cassemblyIdentity name=\"System.Runtime.Serialization.Xml\" publicKeyToken=\"b03f5f7f11d50a3a\" culture=\"neutral\" /\u003e\n\t\u003cbindingRedirect oldVersion=\"0.0.0.0-4.0.10.0\" newVersion=\"4.1.3.0\"/\u003e\n\u003c/dependentAssembly\u003e\n\u003cdependentAssembly\u003e\n\t\u003cassemblyIdentity name=\"System.Security.Cryptography.Algorithms\" publicKeyToken=\"b03f5f7f11d50a3a\" culture=\"neutral\" /\u003e\n\t\u003cbindingRedirect oldVersion=\"0.0.0.0-255.255.255.255\" newVersion=\"4.3.0.0\"/\u003e\n\u003c/dependentAssembly\u003e\n```\n\n![AssemblyRebinding-screenshot](https://user-images.githubusercontent.com/18664267/51531845-3f98ca80-1e47-11e9-90c3-9e422902712f.png)\n\n\n* If the \"from\" version is 0.0.0.0, AssemblyRebinding sets maximum \"oldVersion\" value to 255.255.255.255, e.g. `oldVersion=\"0.0.0.0-255.255.255.255\"`\n* I recommended to run in NuGet Package Manager Console the redirect updating command, `Add-BindingRedirect *` after adding binding redirects\n* .NET 4.6.2 or newer required to run AssemblyRebinding\n* Read more from https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/redirect-assembly-versions \n\n\n\n#### Version info\n* 2019-01-20 1.0.0 Initial version\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandersade%2Fassemblyrebinding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandersade%2Fassemblyrebinding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandersade%2Fassemblyrebinding/lists"}