Skip to content

Adapt release script and documentation due to upgrade to .Net Core 2.0 #870

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

Conversation

bergmeister
Copy link
Collaborator

The upgrade from the .Net Core 1.0Preview2 to .Net Core 2.0 has missed minor places to adapt:

  • dotnet restore is not required any more -> remove call in New-Release function
  • update readme.md with change from project.json to csproj file names

@@ -93,7 +93,6 @@ function New-ReleaseBuild
try
{
remove-item out/ -recurse -force
dotnet restore
.\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build
.\buildCoreClr.ps1 -Framework net451 -Configuration PSV3Release -Build
.\buildCoreClr.ps1 -Framework netstandard1.6 -Configuration Release -Build
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be netstandard2.<something>?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Why? The idea behind .net standard is to keep the number as low as possible. Unless we need an API that is available only in netstandard2.0, there is no value (the standard itself has nothing to do with the runtime, the runtime is responsible for implementing the standard). But maybe give that we are not running on mobile devices, this is maybe over thinking and netstandard2 might make it easier for development by having more apis available.

Copy link
Contributor

Choose a reason for hiding this comment

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

I was thinking that the more we match PowerShell Core the better.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok, I don't mind too much if you prefer that but changing to netstandard2.0 should be done as a separate PR.

@JamesWTruher JamesWTruher merged commit 539e28e into PowerShell:development Feb 7, 2018
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.

2 participants