Skip to content

Conversation

wli3
Copy link

@wli3 wli3 commented Mar 28, 2019

2 work are separate commits

@wli3 wli3 changed the title Block project tools netcoreapp3.0 Cap project tools to netcoreapp2.2 and block creating new package Mar 28, 2019
@wli3 wli3 marked this pull request as ready for review March 28, 2019 03:14
@@ -38,8 +38,8 @@ Copyright (c) .NET Foundation. All rights reserved.
</PropertyGroup>

<PropertyGroup Condition="'$(DotnetCliToolTargetFramework)' == '' And '$(BundledNETCoreAppTargetFrameworkVersion)' != ''">
<!-- Set the TFM used to restore .NET CLI tools to match the version of .NET Core bundled in the CLI -->
<DotnetCliToolTargetFramework>netcoreapp$(BundledNETCoreAppTargetFrameworkVersion)</DotnetCliToolTargetFramework>
<!-- To move away from project tools. The highest available project tools TFM is netcoreapp2.2 -->
Copy link
Author

Choose a reason for hiding this comment

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

The full spec is not available to public yet

Copy link
Member

Choose a reason for hiding this comment

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

I would say this:

Maximum supported target framework for DotnetCliProjectTools is .NET Core 2.2

@wli3 wli3 requested a review from dsplaisted March 28, 2019 03:16
@wli3 wli3 self-assigned this Mar 28, 2019
@wli3 wli3 requested a review from a team March 28, 2019 03:16
@wli3
Copy link
Author

wli3 commented Mar 28, 2019

pending remove --fx-version when run, but that change should be in CLI repo

@@ -38,8 +38,8 @@ Copyright (c) .NET Foundation. All rights reserved.
</PropertyGroup>

<PropertyGroup Condition="'$(DotnetCliToolTargetFramework)' == '' And '$(BundledNETCoreAppTargetFrameworkVersion)' != ''">
<!-- Set the TFM used to restore .NET CLI tools to match the version of .NET Core bundled in the CLI -->
<DotnetCliToolTargetFramework>netcoreapp$(BundledNETCoreAppTargetFrameworkVersion)</DotnetCliToolTargetFramework>
<!-- To move away from project tools. The highest available project tools TFM is netcoreapp2.2 -->
Copy link
Member

Choose a reason for hiding this comment

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

I would say this:

Maximum supported target framework for DotnetCliProjectTools is .NET Core 2.2

}

[Fact]
public void It_can_restore_with_netcoreapp2_2()
Copy link
Author

@wli3 wli3 Mar 28, 2019

Choose a reason for hiding this comment

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

@dsplaisted I find the previous test restoring aspnet scaffolding is too slow, download too much, and may cause fullframework leg's time out. So I changed it to restore a sample project tool and only asset restore's TFM

@wli3 wli3 merged commit 0979dd3 into dotnet:master Mar 29, 2019
@wli3 wli3 deleted the block-project-tools-netcoreapp3.0 branch March 29, 2019 01:41
wli3 pushed a commit that referenced this pull request Feb 7, 2020
….5 (#3057)

- Microsoft.DotNet.Cli.Runtime - 5.0.100-alpha1.19503.5
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