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

Update reference to use packages from NuGet.org #7525

Merged
merged 5 commits into from
Aug 16, 2018

Conversation

adityapatwardhan
Copy link
Member

@adityapatwardhan adityapatwardhan commented Aug 14, 2018

PR Summary

  • Update psrp and libpsl reference to Microsoft.PowerShell.Native
  • Keep the reference to powershell.myget.org in nuget.config for PSDesiredStateConfiguration and PowerShellHelpFiles
  • Update hosting tests
  • Update hosting.tests.csproj in preparation on next release with version 6.1.0-rc.1
  • Update Microsoft.Management.Infrastructure to version 1.0.0

PR Checklist

using System.Management.Automation;
using System.Security;
using Microsoft.Management.Infrastructure;
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't M come before S?

Copy link
Member Author

Choose a reason for hiding this comment

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

All System* namespaces must be listed at top.


using (System.Management.Automation.PowerShell ps = System.Management.Automation.PowerShell.Create())
{
string command = $"New-Item -ItemType SymbolicLink -Path {path} -Target {target}";
Copy link
Member

Choose a reason for hiding this comment

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

Is this test because symlink depends on libpsl? Perhaps add a comment as Native may be interpreted as a native command not from Microsoft.PowerShell.Native

Copy link
Member Author

Choose a reason for hiding this comment

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

I will add a comment.

@adityapatwardhan
Copy link
Member Author

@SteveL-MSFT Addressed feedback, please have another look.

@TravisEz13 TravisEz13 changed the title [Feature] Update reference to use packages from NuGet.org Update reference to use packages from NuGet.org Aug 14, 2018
@TravisEz13
Copy link
Member

restarted appveyor due to a PSVersion failure

@adityapatwardhan adityapatwardhan changed the title Update reference to use packages from NuGet.org WIP: Update reference to use packages from NuGet.org Aug 16, 2018
@adityapatwardhan
Copy link
Member Author

We need to update Microsoft.PowerShell.Native nuget package with adding new dependencies to pwrshcommon.cpp. Then update the csproj to take a dependency on the new version.

* Update psrp and libpsl reference to Microsoft.PowerShell.Native
* Keep the reference to powershell.myget.org in nuget.config for PSDesiredStateConfiguration and PowerShellHelpFiles
* Update hosting tests
* Update hosting.tests.csproj in preparation on next release with version 6.1.0-rc.1
* Update Microsoft.Management.Infrastructure to version 1.0.0
@adityapatwardhan adityapatwardhan changed the title WIP: Update reference to use packages from NuGet.org Update reference to use packages from NuGet.org Aug 16, 2018
@TravisEz13 TravisEz13 merged commit 96b2c83 into PowerShell:master Aug 16, 2018
@adityapatwardhan adityapatwardhan deleted the UpdateToNuGet branch August 16, 2018 23:12
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.

3 participants