René's URL Explorer Experiment


Title: Need to have runtime assembly binding strategy for package dlls that mimics nuget's design time behavior · Issue #524 · scriptcs/scriptcs · GitHub

Open Graph Title: Need to have runtime assembly binding strategy for package dlls that mimics nuget's design time behavior · Issue #524 · scriptcs/scriptcs

X Title: Need to have runtime assembly binding strategy for package dlls that mimics nuget's design time behavior · Issue #524 · scriptcs/scriptcs

Description: Hello my friends I just spent hours and hours with @garchibald in nuget hell was we tried to rev the new version of the web api script pack which now depends on the scriptcs.owin script pack. The issue was a conflict loading competing ve...

Open Graph Description: Hello my friends I just spent hours and hours with @garchibald in nuget hell was we tried to rev the new version of the web api script pack which now depends on the scriptcs.owin script pack. The i...

X Description: Hello my friends I just spent hours and hours with @garchibald in nuget hell was we tried to rev the new version of the web api script pack which now depends on the scriptcs.owin script pack. The i...

Mail addresses
notifications@github.com
notifications@github.com
notifications@github.com
notifications@github.com
notifications@github.com
notifications@github.com
notifications@github.com
notifications@github.com
notifications@github.com
notifications@github.com

Opengraph URL: https://github.com/scriptcs/scriptcs/issues/524

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Need to have runtime assembly binding strategy for package dlls that mimics nuget's design time behavior","articleBody":"Hello my friends\n\nI just spent hours and hours with @garchibald in nuget hell was we tried to rev the new version of the web api script pack which now depends on the scriptcs.owin script pack. The issue was a conflict loading competing versions of OWIN dlls\n\nThe issue that we were seeing relates to having 2 versions of the same assembly (Microsoft.Owin.dll) referenced by multiple assemblies.\n\nIn VS nuget resolves this through binding redirects so it will forward all requests for Microsoft.Owin,dll 2.0.0 to 2.0.2. Below is a snippet of what this redirect looks like\n\n``` xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?>\n\u003cconfiguration>\n    \u003cstartup> \n        \u003csupportedRuntime version=\"v4.0\" sku=\".NETFramework,Version=v4.5\" />\n    \u003c/startup>\n  \u003cruntime>\n    \u003cassemblyBinding xmlns=\"urn:schemas-microsoft-com:asm.v1\">\n      \u003cdependentAssembly>\n        \u003cassemblyIdentity name=\"Microsoft.Owin\" publicKeyToken=\"31bf3856ad364e35\" culture=\"neutral\" />\n        \u003cbindingRedirect oldVersion=\"0.0.0.0-2.0.2.0\" newVersion=\"2.0.2.0\" />\n      \u003c/dependentAssembly>\n    \u003c/assemblyBinding>\n  \u003c/runtime>\n\u003c/configuration>\n```\n\nIn scriptcs however we don't have directs, so there is a load failure when the assembly is loaded which references the earlier version of the Owin dll.\n\nProposal: We need to add runtime assembly redirect behavior. First we need to get the last version of each dll and then at runtime using assembly resolve event we ensure that requests for earlier versions of that assembly are redirected to the latest version.\n\nIt looks like we can use this API to get the version without actually having to load via reflection.\n\n``` csharp\nFileVersionInfo myFileVersionInfo = FileVersionInfo.GetVersionInfo(@\"C:\\MyAssembly.dll\");\n```\n","author":{"url":"https://github.com/glennblock","@type":"Person","name":"glennblock"},"datePublished":"2013-11-26T02:41:48Z","url":"https://github.com/scriptcs/scriptcs/issues/524"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:53d0d6d7-4dc6-6f91-3662-fffabe937466
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA364:142FA7:BD1E95:FD2D80:6B004D3E
html-safe-nonce575e5acff659b0766ffd705fced950c5e4da9f91855557547a4edfd9ef4a9ebf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzY0OjE0MkZBNzpCRDFFOTU6RkQyRDgwOjZCMDA0RDNFIiwidmlzaXRvcl9pZCI6IjgyMTUyMjk3NDU1Mzc3NjQ2NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2cd6ff059aef33a8579398d4b93c29e35e6b270aebc6f471fc9e745c694bb02d
hovercard-subject-tagissue:23290452
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scriptcs/scriptcs/524/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d57f8f6e4247df5b9744770eeb718c81fbd7f8c5f8cbefc35f2a2de7f7c87939/scriptcs/scriptcs/issues/524
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d57f8f6e4247df5b9744770eeb718c81fbd7f8c5f8cbefc35f2a2de7f7c87939/scriptcs/scriptcs/issues/524
og:image:altHello my friends I just spent hours and hours with @garchibald in nuget hell was we tried to rev the new version of the web api script pack which now depends on the scriptcs.owin script pack. The i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameglennblock
hostnamegithub.com
expected-hostnamegithub.com
Nonef9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b
turbo-cache-controlno-preview
go-importgithub.com/scriptcs/scriptcs git https://github.com/scriptcs/scriptcs.git
octolytics-dimension-user_id3758046
octolytics-dimension-user_loginscriptcs
octolytics-dimension-repository_id8473240
octolytics-dimension-repository_nwoscriptcs/scriptcs
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8473240
octolytics-dimension-repository_network_root_nwoscriptcs/scriptcs
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb27c5dde30676028abd5c5fc53ce5c9b625f8281
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/scriptcs/scriptcs/issues/524#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscriptcs%2Fscriptcs%2Fissues%2F524
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscriptcs%2Fscriptcs%2Fissues%2F524
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=scriptcs%2Fscriptcs
Reloadhttps://github.com/scriptcs/scriptcs/issues/524
Reloadhttps://github.com/scriptcs/scriptcs/issues/524
Reloadhttps://github.com/scriptcs/scriptcs/issues/524
scriptcshttps://github.com/scriptcs
scriptcshttps://github.com/scriptcs/scriptcs
Codehttps://github.com/scriptcs/scriptcs
Issues167 (167)https://github.com/scriptcs/scriptcs/issues
Pull requests2 (2)https://github.com/scriptcs/scriptcs/pulls
Actionshttps://github.com/scriptcs/scriptcs/actions
Projectshttps://github.com/scriptcs/scriptcs/projects
Wikihttps://github.com/scriptcs/scriptcs/wiki
Security and qualityhttps://github.com/scriptcs/scriptcs/security
Insightshttps://github.com/scriptcs/scriptcs/insights
https://github.com/scriptcs/scriptcs
New issuehttps://github.com/login?return_to=https://github.com/scriptcs/scriptcs/issues/524
New issuehttps://github.com/login?return_to=https://github.com/scriptcs/scriptcs/issues/524
Need to have runtime assembly binding strategy for package dlls that mimics nuget's design time behaviorhttps://github.com/scriptcs/scriptcs/issues/524#top
duplicatehttps://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22duplicate%22
https://github.com/glennblock
glennblockhttps://github.com/glennblock
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issue-23290452
@garchibaldhttps://github.com/garchibald
Nexthttps://github.com/scriptcs/scriptcs/issues/524?timeline_page=1
glennblockhttps://github.com/glennblock
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#event-78096405
https://github.com/glennblock
glennblockhttps://github.com/glennblock
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issuecomment-29279174
https://github.com/dschenkelman
dschenkelmanhttps://github.com/dschenkelman
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issuecomment-29282978
#453https://github.com/scriptcs/scriptcs/issues/453
https://github.com/glennblock
glennblockhttps://github.com/glennblock
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issuecomment-29298534
#453https://github.com/scriptcs/scriptcs/issues/453
#453https://github.com/scriptcs/scriptcs/issues/453
/issues/524https://github.com/scriptcs/scriptcs/issues/524
https://github.com/dschenkelman
dschenkelmanhttps://github.com/dschenkelman
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issuecomment-29299891
https://github.com/glennblock
glennblockhttps://github.com/glennblock
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issuecomment-29301259
/issues/524https://github.com/scriptcs/scriptcs/issues/524
https://github.com/jeffhandley
jeffhandleyhttps://github.com/jeffhandley
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issuecomment-29315375
NuGet versioning Part 1: taking on DLL Hellhttp://blog.davidebbo.com/2011/01/nuget-versioning-part-1-taking-on-dll.html
NuGet versioning Part 2: the core algorithmhttp://blog.davidebbo.com/2011/01/nuget-versioning-part-2-core-algorithm.html
NuGet versioning Part 3: unification of binding redirectshttp://blog.davidebbo.com/2011/01/nuget-versioning-part-3-unification-via.html
no longer automatically patch dependencieshttps://nuget.codeplex.com/workitem/3717
https://github.com/jeffhandley
jeffhandleyhttps://github.com/jeffhandley
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issuecomment-29315535
https://github.com/glennblock
glennblockhttps://github.com/glennblock
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issuecomment-29318587
@jeffhandleyhttps://github.com/jeffhandley
https://github.com/jeffhandley
jeffhandleyhttps://github.com/jeffhandley
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issuecomment-29323193
https://github.com/glennblock
glennblockhttps://github.com/glennblock
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issuecomment-29331748
@jeffhandleyhttps://github.com/jeffhandley
https://github.com/glennblock
glennblockhttps://github.com/glennblock
on Nov 26, 2013https://github.com/scriptcs/scriptcs/issues/524#issuecomment-29331800
@garchibaldhttps://github.com/garchibald
https://github.com/adamralph
adamralphhttps://github.com/adamralph
on Jan 10, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-32021711
https://github.com/khellang
khellanghttps://github.com/khellang
on Jan 10, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-32022050
@joerikshttps://github.com/joeriks
glennblockhttps://github.com/glennblock
on Feb 8, 2014https://github.com/scriptcs/scriptcs/issues/524#event-91936146
https://github.com/antoinne85
antoinne85https://github.com/antoinne85
on Aug 23, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53152281
@adamralphhttps://github.com/adamralph
https://github.com/mmbot/mmbothttps://github.com/mmbot/mmbot
https://github.com/glennblock
glennblockhttps://github.com/glennblock
on Aug 23, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53159483
@adamralphhttps://github.com/adamralph
https://github.com/adamralphhttps://github.com/adamralph
https://github.com/mmbot/mmbothttps://github.com/mmbot/mmbot
#524 (comment)https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53152281
https://github.com/adamralph
adamralphhttps://github.com/adamralph
on Aug 23, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53160250
@adamralphhttps://github.com/adamralph
https://github.com/adamralphhttps://github.com/adamralph
https://github.com/mmbot/mmbothttps://github.com/mmbot/mmbot
#524 (comment)https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53152281
#524 (comment)https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53159483
https://github.com/antoinne85
antoinne85https://github.com/antoinne85
on Aug 23, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53165237
@glennblockhttps://github.com/glennblock
@adamralphhttps://github.com/adamralph
https://github.com/glennblock
glennblockhttps://github.com/glennblock
on Aug 26, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53377748
@adamralphhttps://github.com/adamralph
https://github.com/adamralphhttps://github.com/adamralph
https://github.com/mmbot/mmbothttps://github.com/mmbot/mmbot
#524 (comment)https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53152281
#524 (comment)https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53159483
#524 (comment)https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53160250
https://github.com/adamralph
adamralphhttps://github.com/adamralph
on Aug 26, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53390742
@antoinne85https://github.com/antoinne85
https://github.com/scriptcs/scriptcs/blob/dev/src/ScriptCs/ScriptServicesBuilderFactory.cs#L25https://github.com/scriptcs/scriptcs/blob/dev/src/ScriptCs/ScriptServicesBuilderFactory.cs#L25
https://github.com/khellang
khellanghttps://github.com/khellang
on Aug 26, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53394320
https://github.com/adamralph
adamralphhttps://github.com/adamralph
on Aug 26, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53394724
#524 (comment)https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53394320
https://github.com/glennblock
glennblockhttps://github.com/glennblock
on Aug 28, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53813026
#524 (comment)https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53394320
#524 (comment)https://github.com/scriptcs/scriptcs/issues/524#issuecomment-53394724
glennblockhttps://github.com/glennblock
completedhttps://github.com/scriptcs/scriptcs/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 29, 2014https://github.com/scriptcs/scriptcs/issues/524#event-159093921
adamralphhttps://github.com/adamralph
duplicatehttps://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22duplicate%22
P2https://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22P2%22
featurehttps://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22feature%22
you take ithttps://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22you%20take%20it%22
on Oct 5, 2014https://github.com/scriptcs/scriptcs/issues/524#event-174260572
https://github.com/adamralph
adamralphhttps://github.com/adamralph
on Oct 5, 2014https://github.com/scriptcs/scriptcs/issues/524#issuecomment-57939730
#793https://github.com/scriptcs/scriptcs/issues/793
Sign up for freehttps://github.com/signup?return_to=https://github.com/scriptcs/scriptcs/issues/524
Sign in to commenthttps://github.com/login?return_to=https://github.com/scriptcs/scriptcs/issues/524
duplicatehttps://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22duplicate%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.