GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — Add ability to package non-release packages by TravisEz13 · Pull Request #4509 · PowerShell/PowerShell Conversation
|
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I believe .NET CLI generates portable pdb by default on Linux/OSX. See https://github.com/OmniSharp/omnisharp-vscode/wiki/Portable-PDBs#how-to-generate-portable-pdbs.
So the LinuxDebug may not be necessary.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, even for Windows the PDBs that are generated are portable. Hence, for code coverage we explicitly make the DebugType as full, which is Windows style full PDBs.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
PS > dir ./powershell/src/powershell-unix/bin/Linux/netcoreapp2.0/osx.10.12-x64/publish/*.pdb -Recurse
Directory: /Users/travisplunk/git/powershell/src/powershell-unix/bin/Linux/netcoreapp2.0/osx.10.12-x64/publish
Mode LastWriteTime Length Name
---- ------------- ------ ----
------ 8/7/17 9:57 AM 236 Microsoft.PowerShell.SDK.pdb
------ 8/7/17 9:57 AM 488 powershell.pdb
PS > dir ./src/powershell-unix/bin/LinuxDebug/netcoreapp2.0/osx.10.12-x64/publish/*.pdb -Recurse
Directory: /Users/travisplunk/git/powershell/src/powershell-unix/bin/LinuxDebug/netcoreapp2.0/osx.10.12-x64/publish
Mode LastWriteTime Length Name
---- ------------- ------ ----
------ 8/5/17 9:10 AM 184768 Microsoft.PowerShell.Commands.Management.pdb
------ 8/5/17 9:10 AM 242416 Microsoft.PowerShell.Commands.Utility.pdb
------ 8/5/17 9:10 AM 78996 Microsoft.PowerShell.ConsoleHost.pdb
------ 8/5/17 9:10 AM 29848 Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.pdb
------ 8/5/17 9:10 AM 39696 Microsoft.PowerShell.CoreCLR.Eventing.pdb
------ 8/5/17 9:10 AM 87268 Microsoft.PowerShell.PSReadLine.pdb
------ 8/5/17 9:10 AM 236 Microsoft.PowerShell.SDK.pdb
------ 8/5/17 9:10 AM 42868 Microsoft.PowerShell.Security.pdb
------ 8/5/17 11:42 AM 488 powershell.pdb
------ 8/5/17 9:10 AM 2916020 System.Management.Automation.pdb
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
If they are generated, they are not included in the publish directory.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
They are generated. However, when specifying -Crossgen, those .pdb files will be removed during Start-Crossgen.
For the same reason, you shouldn't specify -Crossgen when packing debug packages.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Just want to double check -- we don't change the existing names of the release packages, right?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, but, I'll update this code, as when I wrote it I assumed Release was the only Release configuration
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, even for Windows the PDBs that are generated are portable. Hence, for code coverage we explicitly make the DebugType as full, which is Windows style full PDBs.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
82b6d30 to
3bfa807
Compare
|
I changed this to only allow packaging with symbols for now by removing crossgen from the build. I've updated the PR Description. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
new commits were pushed.
|
Aditya Patwardhan (@adityapatwardhan) The comments are addressed. Can you please take another look? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Aditya Patwardhan (@adityapatwardhan) any update? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.