{"id":17867064,"url":"https://github.com/jaykul/netcoremoduleproof","last_synced_at":"2026-06-14T21:34:34.751Z","repository":{"id":146118678,"uuid":"80804043","full_name":"Jaykul/NetCoreModuleProof","owner":"Jaykul","description":"A simple cross-platform .NETStandard PowerShell module","archived":false,"fork":false,"pushed_at":"2017-02-03T15:33:33.000Z","size":3,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-09T19:31:56.519Z","etag":null,"topics":[],"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/Jaykul.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":"2017-02-03T06:39:51.000Z","updated_at":"2019-07-17T08:28:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"c45b342a-b4dd-4701-90d1-a12cc0ff6726","html_url":"https://github.com/Jaykul/NetCoreModuleProof","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jaykul/NetCoreModuleProof","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaykul%2FNetCoreModuleProof","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaykul%2FNetCoreModuleProof/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaykul%2FNetCoreModuleProof/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaykul%2FNetCoreModuleProof/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jaykul","download_url":"https://codeload.github.com/Jaykul/NetCoreModuleProof/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaykul%2FNetCoreModuleProof/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34339195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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":[],"created_at":"2024-10-28T09:43:16.326Z","updated_at":"2026-06-14T21:34:34.727Z","avatar_url":"https://github.com/Jaykul.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A \"simplest possible\" cross-platform binary PowerShell module\n\nI needed to know the answer to the questions:\n\n## Is it possible to make a cross-platform binary PowerShell module?\n\n## Can a single assembly works in both Windows PowerShell and PowerShell Core?\n\nThe answer is: Yes.\n\nThis project is the proof of concept, and a simple template. It doesn't do anything useful, except compile, and ... you know ... work.\n\n## Build Instructions\n\n```posh\ngit clone https://github.com/jaykul/NetCoreModuleProof.git\ncd NetCoreModuleProof\n\ndotnet restore\ndotnet Build\n\nImport-Module ./bin/debug/netstandard1.6/NetCoreModuleProof.dll\n\nGet-Command NetCoreModuleProof\nGet-Greeting\n```\n\nThat's really all there is to it.  Feel free to copy and add your own useful commands!\n\n## You probably know, intuitively, that this is too good to be true\n\nWell, you're basically right.\n\nThis module does indeed work in a cross-platform way, with no problems. However, that's because it has virtually no dependencies -- it doesn't even use a hashtable parameter, or use `System.Math`.  Unfortunately, as soon as you start adding dependencies, you will start running into problems, because many of your dependencies won't \"just work\" on both Full Framework and Core Framework -- you'll need to cross-compile.\n\nThe problem is, once you cross-compile, how can we load _the right_ dependent assemblies on PowerShell Core, running on .Net Core, and on Windows PowerShell, running on the full .Net Framework 4.x?\n\nRight now, as far as I know, the answer is: you cannot, in PowerShell.  I have [filed this issue](https://github.com/PowerShell/PowerShell/issues/3091) because I could not find an older one...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaykul%2Fnetcoremoduleproof","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaykul%2Fnetcoremoduleproof","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaykul%2Fnetcoremoduleproof/lists"}