René's URL Explorer Experiment


Title: XPLAT: RequiredAssemblies must automatically consider lib\framework · Issue #3091 · PowerShell/PowerShell · GitHub

Open Graph Title: XPLAT: RequiredAssemblies must automatically consider lib\framework · Issue #3091 · PowerShell/PowerShell

X Title: XPLAT: RequiredAssemblies must automatically consider lib\framework · Issue #3091 · PowerShell/PowerShell

Description: In order to support cross-platform modules, we need to support dependent assembly packages properly, the way that dotnet build does -- we need to be able to either: make requiredAssemblies like package.json: a list of nuget packages you ...

Open Graph Description: In order to support cross-platform modules, we need to support dependent assembly packages properly, the way that dotnet build does -- we need to be able to either: make requiredAssemblies like pac...

X Description: In order to support cross-platform modules, we need to support dependent assembly packages properly, the way that dotnet build does -- we need to be able to either: make requiredAssemblies like pac...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/3091

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"XPLAT: RequiredAssemblies must automatically consider lib\\framework","articleBody":"In order to support cross-platform modules, we need to support dependent assembly packages properly, the way that `dotnet build` does -- we need to be able to either:\r\n\r\n1. make requiredAssemblies like package.json: a list of nuget packages you can load from the .nuget folder (the new compile-time GAC)\r\n2. ship .nupkg files, and refer to the assemblies in requiredAssemblies\r\n3. include the lib/ folder from the nupkg files, and have you PowerShell pick the right one based on platform.\r\n\r\nTo me, it's perfectly obvious that a single machine-wide .nuget folder -- which PowerShell could un-pack from on demand -- would be the ideal solution, requiring the least amount of disk space and work on the part of developers.  It would require the NuGet package provider for PowerShell PackageManagement be updated, and significant changes to the core to do the work of unpacking and loading the right assemblies...\r\n\r\nShort of that, a .nuget folder (or \"assemblies\" or whatever) in my PowerShell folder would be a good fall-back option. Same basic story.\r\n\r\nFailing that, the fallback option would be to allow module authors to include the actual nupkg files in their modules. It requires almost all of the same development, and you end up with a lot more copies of the assemblies, but since it doesn't require a working PackageManagement provider (at least, not at runtime), it's somewhat simpler, and self-contained.\r\n\r\nAs a final, worst-case scenario, we could require module authors to actually _unpack_ the nupkg files.  That is, we could require each module author to `Install-Package Dependency -Destination MyModuleFolder` and put the `lib` folder from the nuget packages directly within their module.  This way PowerShell is only responsible to load the right assembly based on the platform, but we still get cross-platform modules.\r\n\r\n### Backwards compatibility\r\n\r\nNote that for the sake of making modules compatible with PowerShell 5.x and lower, all of these methods require cutting off support at PowerShell 3 (.Net 4) and shipping the .Net 4 assemblies _loose_ in the _root folder of the module_.  As long as the manifest just says:  RequiredAssemblies = \"Whatever.dll\", legacy `Windows PowerShell` only looks in the GAC or in the module folder.","author":{"url":"https://github.com/Jaykul","@type":"Person","name":"Jaykul"},"datePublished":"2017-02-03T14:55:04Z","url":"https://github.com/PowerShell/PowerShell/issues/3091"}

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:632fcb17-9886-e607-805c-370d2c0abd1a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE57C:512F6:4A339:6843D:6AFD48D9
html-safe-nonce91be9b9cebbf8c0a3b87bf099aed142a49514fdb053b2d851da5649c94246ee8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTdDOjUxMkY2OjRBMzM5OjY4NDNEOjZBRkQ0OEQ5IiwidmlzaXRvcl9pZCI6Ijg4NjE2ODUyMTQ3OTE2ODIyNjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2d6d038f9eafcc214df56d8289dd7d9ce7f612c749cab6fa133059bf34130421
hovercard-subject-tagissue:205178439
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/PowerShell/PowerShell/3091/issue_layout
twitter:imagehttps://opengraph.githubassets.com/23e6efd59b31401fb0d201239d5f24a928c4f587350cd73cfadf330a7d9c16db/PowerShell/PowerShell/issues/3091
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/23e6efd59b31401fb0d201239d5f24a928c4f587350cd73cfadf330a7d9c16db/PowerShell/PowerShell/issues/3091
og:image:altIn order to support cross-platform modules, we need to support dependent assembly packages properly, the way that dotnet build does -- we need to be able to either: make requiredAssemblies like pac...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJaykul
hostnamegithub.com
expected-hostnamegithub.com
Nonebdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
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
release556dd37bb0aceffb25724e151b5d858b3265b40b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/3091#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F3091
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%2FPowerShell%2FPowerShell%2Fissues%2F3091
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=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/3091
Reloadhttps://github.com/PowerShell/PowerShell/issues/3091
Reloadhttps://github.com/PowerShell/PowerShell/issues/3091
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests365 (365)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/3091
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/3091
XPLAT: RequiredAssemblies must automatically consider lib\frameworkhttps://github.com/PowerShell/PowerShell/issues/3091#top
Area-Maintainers-Documentationspecific to documentation in this repohttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-Maintainers-Documentation%22
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Discussion%22
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
WG-DevEx-Portabilityauthoring cross-platform or cross-architecture modules, cmdlets, and scriptshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-DevEx-Portability%22
WG-DevEx-SDKhosting PowerShell as a runtime, PowerShell's APIs, PowerShell Standard, or development of moduleshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-DevEx-SDK%22
Futurehttps://github.com/PowerShell/PowerShell/milestone/48
https://github.com/Jaykul
Joel Bennett (Jaykul)https://github.com/Jaykul
on Feb 3, 2017https://github.com/PowerShell/PowerShell/issues/3091#issue-205178439
Nexthttps://github.com/PowerShell/PowerShell/issues/3091?timeline_page=1
https://github.com/lzybkr
Jason Shirk (lzybkr)https://github.com/lzybkr
on Feb 3, 2017https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-277332090
dotnet/msbuild#1542https://github.com/dotnet/msbuild/issues/1542
Jason Shirk (lzybkr)https://github.com/lzybkr
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Discussion%22
on Feb 3, 2017https://github.com/PowerShell/PowerShell/issues/3091#event-948536931
https://github.com/Jaykul
Joel Bennett (Jaykul)https://github.com/Jaykul
on Feb 4, 2017https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-277409170
AngleSharphttps://www.nuget.org/packages/AngleSharp
https://github.com/Jaykul
Joel Bennett (Jaykul)https://github.com/Jaykul
on Mar 28, 2017https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-289886890
Jason Shirk (@lzybkr)https://github.com/lzybkr
https://github.com/PowerShell/PowerShell/blob/master/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/PInvokeDllNames.cshttps://github.com/PowerShell/PowerShell/blob/master/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/PInvokeDllNames.cs
System.Management.Automationhttps://powershell.myget.org/feed/powershell-core/package/nuget/System.Management.Automation
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Mar 28, 2017https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-289907915
Joel Bennett (@Jaykul)https://github.com/Jaykul
#3095https://github.com/PowerShell/PowerShell/pull/3095
https://github.com/Jaykul
Joel Bennett (Jaykul)https://github.com/Jaykul
on Mar 28, 2017https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-289918298
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Mar 28, 2017https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-289927358
Joel Bennett (@Jaykul)https://github.com/Jaykul
https://github.com/atanasa
Atanas Atanasov (atanasa)https://github.com/atanasa
on Apr 10, 2017https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-292947891
Joel Bennett (@Jaykul)https://github.com/Jaykul
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
https://github.com/lzybkr
Jason Shirk (lzybkr)https://github.com/lzybkr
on Apr 10, 2017https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-293018421
Atanas Atanasov (@atanasa)https://github.com/atanasa
https://github.com/lzybkr/PowerShell/blob/34ed215a6671f5cc234f58cfed04504890f91159/docs/portable-modules/portable-modules.mdhttps://github.com/lzybkr/PowerShell/blob/34ed215a6671f5cc234f58cfed04504890f91159/docs/portable-modules/portable-modules.md
#3095https://github.com/PowerShell/PowerShell/pull/3095
Joey Aiello (joeyaiello)https://github.com/joeyaiello
WG-DevEx-Portabilityauthoring cross-platform or cross-architecture modules, cmdlets, and scriptshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-DevEx-Portability%22
on Apr 10, 2017https://github.com/PowerShell/PowerShell/issues/3091#event-1036902412
https://github.com/atanasa
Atanas Atanasov (atanasa)https://github.com/atanasa
on Apr 11, 2017https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-293244628
Jason Shirk (@lzybkr)https://github.com/lzybkr
https://github.com/lzybkr
Jason Shirk (lzybkr)https://github.com/lzybkr
on Apr 11, 2017https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-293354373
Joey Aiello (joeyaiello)https://github.com/joeyaiello
on Apr 20, 2017https://github.com/PowerShell/PowerShell/issues/3091#event-1050932383
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on May 15, 2017https://github.com/PowerShell/PowerShell/issues/3091#event-1082771289
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
6.2.0-Considerhttps://github.com/PowerShell/PowerShell/milestone/42
Futurehttps://github.com/PowerShell/PowerShell/milestone/48
on Jun 15, 2018https://github.com/PowerShell/PowerShell/issues/3091#event-1682693512
https://github.com/Jaykul
Joel Bennett (Jaykul)https://github.com/Jaykul
on Oct 28, 2018https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-433728024
System.Drawing.Commonhttps://www.nuget.org/packages/System.Drawing.Common/
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Oct 28, 2018https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-433731438
Joel Bennett (@Jaykul)https://github.com/Jaykul
Aditya Patwardhan (@adityapatwardhan)https://github.com/adityapatwardhan
James Truher (@JamesWTruher)https://github.com/JamesWTruher
https://github.com/Jaykul
Joel Bennett (Jaykul)https://github.com/Jaykul
on Oct 30, 2018https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-434167649
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
WindowsConsoleFontshttps://github.com/Jaykul/WindowsConsoleFonts
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Oct 31, 2018https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-434514373
Joel Bennett (@Jaykul)https://github.com/Jaykul
https://github.com/Jaykul
Joel Bennett (Jaykul)https://github.com/Jaykul
on Oct 31, 2018https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-434537123
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Area-Maintainers-Documentationspecific to documentation in this repohttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-Maintainers-Documentation%22
WG-DevEx-SDKhosting PowerShell as a runtime, PowerShell's APIs, PowerShell Standard, or development of moduleshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-DevEx-SDK%22
on Oct 31, 2018https://github.com/PowerShell/PowerShell/issues/3091#event-1936772228
https://github.com/Jaykul
Joel Bennett (Jaykul)https://github.com/Jaykul
on Oct 6, 2019https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-538797014
https://github.com/vexx32
Rain Sallow (/u/ta11ow) (vexx32)https://github.com/vexx32
on Oct 6, 2019https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-538797306
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Nov 18, 2019https://github.com/PowerShell/PowerShell/issues/3091#issuecomment-554988240
#11032https://github.com/PowerShell/PowerShell/pull/11032
Ilya (iSazonov)https://github.com/iSazonov
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
on Mar 14, 2020https://github.com/PowerShell/PowerShell/issues/3091#event-3129650631
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 14, 2020https://github.com/PowerShell/PowerShell/issues/3091#event-3129652500
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/3091
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/3091
Area-Maintainers-Documentationspecific to documentation in this repohttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-Maintainers-Documentation%22
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Discussion%22
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
WG-DevEx-Portabilityauthoring cross-platform or cross-architecture modules, cmdlets, and scriptshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-DevEx-Portability%22
WG-DevEx-SDKhosting PowerShell as a runtime, PowerShell's APIs, PowerShell Standard, or development of moduleshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-DevEx-SDK%22
FutureNo due datehttps://github.com/PowerShell/PowerShell/milestone/48
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.