You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add SourceLink to the metadata of the SDK NuGet package #8184
To help debugging applications that use PowerShell SDK, we should add SourceLink metadata to the NuGet SDK. We would also need to publish symbols for the dlls.
Should be able to debug application using PowerShell SDK easily.
Actual behavior
SourceLink and PDBs are not available for SDK package.
Environment data
>$PSVersionTable
Name Value
---------
PSVersion 6.2.0-preview.1
PSEdition Core
GitCommitId 6.2.0-preview.1
OS Microsoft Windows 10.0.18277
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Upvote on this, as this would help debugging the shipped pwsh.exe I think. Or large parts of the codebase at least that use system.management.automation.
Sydney Smith (@SydneyhSmith) please make this happen so we can debug the dll more reasonably. source link enable is pretty easy, and these days you can ship symbols embedded into the dll, so there would be no need to even change your packaging.
This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.
Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.
This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.
Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.
This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.
Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.
Activity
nohwnd commentedon Apr 6, 2023
Upvote on this, as this would help debugging the shipped pwsh.exe I think. Or large parts of the codebase at least that use system.management.automation.
dkattan commentedon Jul 27, 2023
Any movement on this?
dkattan commentedon Jan 23, 2024
This would be truly invaluable for those of us consuming the PowerShell SDK. Thoughts?
dkattan commentedon Jan 23, 2024
Sydney Smith (@SydneyhSmith)
dkattan commentedon Jul 22, 2024
Bump
nohwnd commentedon Jan 20, 2025
Sydney Smith (@SydneyhSmith) please make this happen so we can debug the dll more reasonably. source link enable is pretty easy, and these days you can ship symbols embedded into the dll, so there would be no need to even change your packaging.
microsoft-github-policy-service commentedon Jul 19, 2025
This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.
Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.
microsoft-github-policy-service commentedon Jan 18, 2026
This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.
Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.
microsoft-github-policy-service commentedon Oct 23, 2026
This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.
Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.