René's URL Explorer Experiment


Title: dotnet template incorrectly sets the Standard Library version · Issue #92 · PowerShell/PowerShellStandard · GitHub

Open Graph Title: dotnet template incorrectly sets the Standard Library version · Issue #92 · PowerShell/PowerShellStandard

X Title: dotnet template incorrectly sets the Standard Library version · Issue #92 · PowerShell/PowerShellStandard

Description: The issue The issue seems to lie with the template. On creation of a new project, the .csproj file is populated with the ps standard library reference like so:

X Description: The issue The issue seems to lie with the template. On creation of a new project, the .csproj file is populated with the ps standard library reference like so: <PackageReference Include="Po...

Opengraph URL: https://github.com/PowerShell/PowerShellStandard/issues/92

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"dotnet template incorrectly sets the Standard Library version","articleBody":"**The issue**\r\nThe issue seems to lie with the template. On creation of a new project, the `.csproj` file is populated with the ps standard library reference like so:\r\n```\r\n\u003cPackageReference Include=\"PowerShellStandard.Library\" Version=\"5.1.0-preview-06\"\u003e\r\n...\r\n```\r\nWith this `preview` reference, the intellisense will not work correctly for the powershell-related annotations in the source code, such as the `[Cmdlet(...)]` annotation (intellisense for standard c# features works correctly). This issue is present when using the latest VSCode `C#` extension.\r\n\r\nThe version number however *should* be just `5.1.0`. With this reference, the C# extesion provides correct intellisense.\r\n\r\n**Steps to reproduce**\r\n```\r\ndotnet new -i Microsoft.PowerShell.Standard.Module.Template\r\n\r\ndotnet new psmodule\r\n```\r\nOpen the `TestSampleCmdletCommand.cs` file in VSCode, and invoke intellisense on one of the powershell related annotations, such as the `VerbDiagnostic.Test` symbol; no relevant intellisense will show up.","author":{"url":"https://github.com/KubaP","@type":"Person","name":"KubaP"},"datePublished":"2021-05-05T12:20:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/92/PowerShellStandard/issues/92"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:04f3b34c-6970-e08f-d80b-db8b20f45f84
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9E0E:BAFE4:1F5BAB:291AB1:6991D375
html-safe-nonce9957ac5fcae4478aef346a8e176b49e7e634fca6ff5a9b06437d293039f46d53
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTBFOkJBRkU0OjFGNUJBQjoyOTFBQjE6Njk5MUQzNzUiLCJ2aXNpdG9yX2lkIjoiMTcwMTAyNDkwNzY2ODg5ODQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac35c8d90840a0deb55565595483a18f5aa8027a87098f9729aba28da720c81fd3
hovercard-subject-tagissue:876391640
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/PowerShellStandard/92/issue_layout
twitter:imagehttps://opengraph.githubassets.com/202a305be258013597b9ec7acee250314b8b38c0a01e04055214ee38b488c44d/PowerShell/PowerShellStandard/issues/92
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/202a305be258013597b9ec7acee250314b8b38c0a01e04055214ee38b488c44d/PowerShell/PowerShellStandard/issues/92
og:image:altThe issue The issue seems to lie with the template. On creation of a new project, the .csproj file is populated with the ps standard library reference like so: