Skip to content

Conversation

@mnivet
Copy link

@mnivet mnivet commented Jan 10, 2020

New NetSDK format for csproj, supported since VS2017, provides native NuGet packaging capabilities, which should help to produce a valid PowerShell package later since PowerShell packages are just NuGet packages with conventions specific to PowerShell

This PR is not really adding the support of packaging the dll as a PowerShell package.
It's just a preparation step for that.

But this PR is not limited to this, it also fix the reference issue discuss in issue #1 thanks to the comment of martinisoft1, and use more reliable references to System.*.WindowsRuntime with the help of NuGet

…g capabilities

note: PowerShell packages are in fact NuGet packages
# Visual Studio 2013
VisualStudioVersion = 12.0.20623.1 VSUPREVIEW
# Visual Studio Version 16
VisualStudioVersion = 16.0.29613.14
Copy link
Author

Choose a reason for hiding this comment

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

Upgrading the solution to VS2019 was not mandatory, but keeping it declaring VS2013 was erroneous, since we need at least VS2017 to build a csproj at NetSDK format...

So we may roll back to declare VS2017 (15) instead of VS2019 if you want, but I have supposed that in 2020 everybody has already move on VS2019 or VSCode (which works with this new Net SDK format and don't care of this version number in the sln file)

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.

1 participant