Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable SourceLink with embedded PDB #4967

Merged
merged 1 commit into from
Jul 21, 2020
Merged

Enable SourceLink with embedded PDB #4967

merged 1 commit into from
Jul 21, 2020

Conversation

gitfool
Copy link
Contributor

@gitfool gitfool commented Jul 3, 2020

Fixes #4962.

@gitfool
Copy link
Contributor Author

gitfool commented Jul 3, 2020

@mikhailshilkov I don't have a full development environment yet, pending the vs code dev container, so I didn't do a full build, just enough to verify the two nupkg artifacts had source link symbols.

image

I also bumped the .NET SDK to current latest since it helps with the build order when embedding untracked sources.

Copy link
Member

@mikhailshilkov mikhailshilkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR! Have you tested that it works as intended?

@@ -10,7 +10,7 @@ jobs:
go-version: [1.14.x]
node-version: [10.x]
python-version: [3.7]
dotnet: ['3.1.100']
dotnet: ['3.1.301']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stack72 @jaxxstorm any objections against this change?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not from me - if you are happy with the new version being correct then we can roll that out everywhere

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment above for why I bumped the .NET SDK.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stack72 Which versions are we using "everywhere" now? Could you link to the place where it's configured?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In all of the providers (from a private repo) the version we have configured is

dotnetversion: ['3.1.201'],

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikhailshilkov I just did a manual test and I can confirm I could step debug into Pulumi source from my program.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@mikhailshilkov mikhailshilkov merged commit a38bbaa into pulumi:master Jul 21, 2020
@gitfool gitfool deleted the gh4962 branch July 21, 2020 20:42
abhinav pushed a commit to pulumi/pulumi-dotnet that referenced this pull request Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable SourceLink and embed PDB symbols for all NuGet packages
4 participants