René's URL Explorer Experiment


Title: BinaryFormatter disabled in .Net 8 breaks Out-HTMLView/New-HTML/etc · Issue #389 · EvotecIT/PSWriteHTML · GitHub

Open Graph Title: BinaryFormatter disabled in .Net 8 breaks Out-HTMLView/New-HTML/etc · Issue #389 · EvotecIT/PSWriteHTML

X Title: BinaryFormatter disabled in .Net 8 breaks Out-HTMLView/New-HTML/etc · Issue #389 · EvotecIT/PSWriteHTML

Description: While testing PowerShell 7.4-preview4, reports built using PSWriteHTML v0.0.190 no longer work. Expected behavior Get-Process | Out-HTMLView returns without error Actual behavior Copy-Dictionary: Exception calling "Serialize" with "2" ar...

Open Graph Description: While testing PowerShell 7.4-preview4, reports built using PSWriteHTML v0.0.190 no longer work. Expected behavior Get-Process | Out-HTMLView returns without error Actual behavior Copy-Dictionary: E...

X Description: While testing PowerShell 7.4-preview4, reports built using PSWriteHTML v0.0.190 no longer work. Expected behavior Get-Process | Out-HTMLView returns without error Actual behavior Copy-Dictionary: E...

Opengraph URL: https://github.com/EvotecIT/PSWriteHTML/issues/389

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BinaryFormatter disabled in .Net 8 breaks Out-HTMLView/New-HTML/etc","articleBody":"While testing [PowerShell 7.4-preview4](https://github.com/PowerShell/PowerShell/releases/tag/v7.4.0-preview.4), reports built using PSWriteHTML v0.0.190 no longer work.\r\n\r\n### Expected behavior\r\n`Get-Process | Out-HTMLView` returns without error\r\n\r\n### Actual behavior\r\n`Copy-Dictionary: Exception calling \"Serialize\" with \"2\" argument(s): \"BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information.\"`\r\n\r\nFollowing the rabbit-hole I dug up;\r\n* 7.4-preview4 is updated to .NET 8 Preview 4 https://github.com/PowerShell/PowerShell/pull/19696\r\n* the binaryserializer is now disabled https://learn.microsoft.com/en-us/dotnet/core/compatibility/serialization/8.0/binaryformatter-disabled\r\n* if I replace the `Copy-Dictionary` function w/ the clixml serializer example then my report builts and `Out-HTMLView` works (https://learn.microsoft.com/en-us/powershell/scripting/learn/deep-dives/everything-about-hashtable?view=powershell-7.3)\r\n\r\n```\r\n\r\n# function Copy-Dictionary { \r\n#     [alias('Copy-Hashtable', 'Copy-OrderedHashtable')]\r\n#     [cmdletbinding()]\r\n#     param(\r\n#         [System.Collections.IDictionary] $Dictionary\r\n#     )\r\n#     # create a deep-clone of an object\r\n#     $ms = [System.IO.MemoryStream]::new()\r\n#     $bf = [System.Runtime.Serialization.Formatters.Binary.BinaryFormatter]::new()\r\n#     $bf.Serialize($ms, $Dictionary)\r\n#     $ms.Position = 0\r\n#     $clone = $bf.Deserialize($ms)\r\n#     $ms.Close()\r\n#     $clone\r\n# }\r\nfunction Copy-Dictionary {\r\n    [alias('Copy-Hashtable', 'Copy-OrderedHashtable')]\r\n    [cmdletbinding()]\r\n    param(\r\n        [System.Collections.IDictionary] $Dictionary\r\n    )\r\n    $clone = [System.Management.Automation.PSSerializer]::Serialize($Dictionary, [int32]::MaxValue)\r\n    return [System.Management.Automation.PSSerializer]::Deserialize($clone)\r\n}\r\n```\r\n","author":{"url":"https://github.com/crlogic","@type":"Person","name":"crlogic"},"datePublished":"2023-07-02T12:16:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/389/PSWriteHTML/issues/389"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:abb64e27-49ab-7817-7751-add1967b0f76
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDAAA:E0FB:21E81D4:2D71C45:6A65306E
html-safe-nonce0ef0cdab58c880f2800e2242219ebdb05d2a04dc015a7f801888f278d5122797
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUFBOkUwRkI6MjFFODFENDoyRDcxQzQ1OjZBNjUzMDZFIiwidmlzaXRvcl9pZCI6IjIzOTc1NTExNjcwNDI1NjQyMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac668fa1ea8e7f25485ba4155eef97ccdc57ccc8b2b56dcb4e197b43c9fa8bc178
hovercard-subject-tagissue:1784612565
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/EvotecIT/PSWriteHTML/389/issue_layout
twitter:imagehttps://opengraph.githubassets.com/04ab16832af7a94f73c37d6b9f452c9347374da3bf03d70ec988c13b1d3d0fdd/EvotecIT/PSWriteHTML/issues/389
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/04ab16832af7a94f73c37d6b9f452c9347374da3bf03d70ec988c13b1d3d0fdd/EvotecIT/PSWriteHTML/issues/389
og:image:altWhile testing PowerShell 7.4-preview4, reports built using PSWriteHTML v0.0.190 no longer work. Expected behavior Get-Process | Out-HTMLView returns without error Actual behavior Copy-Dictionary: E...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecrlogic
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-preview
go-importgithub.com/EvotecIT/PSWriteHTML git https://github.com/EvotecIT/PSWriteHTML.git
octolytics-dimension-user_id15376314
octolytics-dimension-user_loginEvotecIT
octolytics-dimension-repository_id161933895
octolytics-dimension-repository_nwoEvotecIT/PSWriteHTML
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161933895
octolytics-dimension-repository_network_root_nwoEvotecIT/PSWriteHTML
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
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/EvotecIT/PSWriteHTML/issues/389#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FEvotecIT%2FPSWriteHTML%2Fissues%2F389
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FEvotecIT%2FPSWriteHTML%2Fissues%2F389
Sign up https://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=EvotecIT%2FPSWriteHTML
Reloadhttps://github.com/EvotecIT/PSWriteHTML/issues/389
Reloadhttps://github.com/EvotecIT/PSWriteHTML/issues/389
Reloadhttps://github.com/EvotecIT/PSWriteHTML/issues/389
Please reload this pagehttps://github.com/EvotecIT/PSWriteHTML/issues/389
EvotecIT https://github.com/EvotecIT
PSWriteHTMLhttps://github.com/EvotecIT/PSWriteHTML
Please reload this pagehttps://github.com/EvotecIT/PSWriteHTML/issues/389
Notifications https://github.com/login?return_to=%2FEvotecIT%2FPSWriteHTML
Fork 112 https://github.com/login?return_to=%2FEvotecIT%2FPSWriteHTML
Star 1k https://github.com/login?return_to=%2FEvotecIT%2FPSWriteHTML
Code https://github.com/EvotecIT/PSWriteHTML
Issues 54 https://github.com/EvotecIT/PSWriteHTML/issues
Pull requests 0 https://github.com/EvotecIT/PSWriteHTML/pulls
Discussions https://github.com/EvotecIT/PSWriteHTML/discussions
Actions https://github.com/EvotecIT/PSWriteHTML/actions
Projects https://github.com/EvotecIT/PSWriteHTML/projects
Wiki https://github.com/EvotecIT/PSWriteHTML/wiki
Security and quality 0 https://github.com/EvotecIT/PSWriteHTML/security
Insights https://github.com/EvotecIT/PSWriteHTML/pulse
Code https://github.com/EvotecIT/PSWriteHTML
Issues https://github.com/EvotecIT/PSWriteHTML/issues
Pull requests https://github.com/EvotecIT/PSWriteHTML/pulls
Discussions https://github.com/EvotecIT/PSWriteHTML/discussions
Actions https://github.com/EvotecIT/PSWriteHTML/actions
Projects https://github.com/EvotecIT/PSWriteHTML/projects
Wiki https://github.com/EvotecIT/PSWriteHTML/wiki
Security and quality https://github.com/EvotecIT/PSWriteHTML/security
Insights https://github.com/EvotecIT/PSWriteHTML/pulse
BinaryFormatter disabled in .Net 8 breaks Out-HTMLView/New-HTML/etchttps://github.com/EvotecIT/PSWriteHTML/issues/389#top
bugSomething isn't workinghttps://github.com/EvotecIT/PSWriteHTML/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/crlogic
crlogichttps://github.com/crlogic
on Jul 2, 2023https://github.com/EvotecIT/PSWriteHTML/issues/389#issue-1784612565
PowerShell 7.4-preview4https://github.com/PowerShell/PowerShell/releases/tag/v7.4.0-preview.4
Update to .NET 8 Preview 4 PowerShell/PowerShell#19696https://github.com/PowerShell/PowerShell/pull/19696
https://learn.microsoft.com/en-us/dotnet/core/compatibility/serialization/8.0/binaryformatter-disabledhttps://learn.microsoft.com/en-us/dotnet/core/compatibility/serialization/8.0/binaryformatter-disabled
https://learn.microsoft.com/en-us/powershell/scripting/learn/deep-dives/everything-about-hashtable?view=powershell-7.3https://learn.microsoft.com/en-us/powershell/scripting/learn/deep-dives/everything-about-hashtable?view=powershell-7.3
bugSomething isn't workinghttps://github.com/EvotecIT/PSWriteHTML/issues?q=state%3Aopen%20label%3A%22bug%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.