Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Added package reference for 'Microsoft.NETCore.Windows.ApiSets'#4438

Closed
adityapatwardhan wants to merge 2 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
adityapatwardhan:Win7LoadingIssueadityapatwardhan/PowerShell:Win7LoadingIssueCopy head branch name to clipboard
Closed

Added package reference for 'Microsoft.NETCore.Windows.ApiSets'#4438
adityapatwardhan wants to merge 2 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
adityapatwardhan:Win7LoadingIssueadityapatwardhan/PowerShell:Win7LoadingIssueCopy head branch name to clipboard

Conversation

@adityapatwardhan

Copy link
Copy Markdown
Member

Since .Net Core 2.0, the api sets were moved to a nuget package. Adding a package reference for "Microsoft.NETCore.Windows.ApiSets" gets the required binaries for the Win7 package.

Fixes: #3747

<PackageReference Include="System.Security.Permissions" Version="4.4.0-preview3-25423-02" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.4.0-preview3-25423-02" />
<PackageReference Include="Microsoft.Management.Infrastructure" Version="1.0.0-alpha*" />
<PackageReference Include="Microsoft.NETCore.Windows.ApiSets" Version="1.0.1" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please move this reference to the "SDK.csporj". The packages that are not explicitly depended on by projects are put there.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed. Makes sense.

@daxian-dbw

Copy link
Copy Markdown
Member

Have you tried if this works on Win7? This package seems to contain nothing and has no dependencies too.

@adityapatwardhan

Copy link
Copy Markdown
Member Author

Yes, I have tried it on Win7 SP1. It pulls in more api*.dll binaries with a dotnet publish.

image

@mirichmo mirichmo self-assigned this Aug 1, 2017
@adityapatwardhan

Copy link
Copy Markdown
Member Author

@mirichmo Can this be merged? This would be a good addition for beta.5.

@daxian-dbw

Copy link
Copy Markdown
Member

@adityapatwardhan please resubmit the PR target the release branch. Jason merged a PR that might be risky for the release, so we cannot rebase on master now.

@adityapatwardhan

Copy link
Copy Markdown
Member Author

Closing this PR and opening a new one for release branch.

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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.