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

Add .NET 5.0 support #550

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

e27182
Copy link

@e27182 e27182 commented Apr 5, 2021

Adds .NET 5.0 as a supported target framework.

Relates to #460.

@alexrp
Copy link

alexrp commented Apr 20, 2021

Simply adding <RollForward>LatestMajor</RollForward> to the project file should be sufficient. Then you shouldn't have to add another TFM with every new major .NET version. (This is probably what the prefercliruntime file used to do, but I doubt it works anymore as it was never documented.)

@PeterHagen
Copy link

PeterHagen commented Jun 17, 2021

I tried to dotNet bundle in a Docker 5.0 SDK image, without installing DotNet 2.1 (currently the .deb package for this is unavailable), and get the "The framework 'Microsoft.NETCore.App', version '2.0.0-preview1-002111-00' was not found." error.

Has this been released already?

#460

@jmoralesv
Copy link

Hi all,
I cleanup my local machine from older .NET Core 2.x and 3.x runtimes, and I found that one of my projects was failing, and I realized I'm using BundlerMinifier.Core, version 3.2.449 which depends on .NET Core 2.0

When running dotnet bundle I got this:

Cannot find a manifest file.
For a list of locations searched, specify the "-d" option before the tool name.
No tools were restored.
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.0.0' was not found.
  - The following frameworks were found:
      3.1.21 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      5.0.12 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

So I guess I have to install .NET Core 2.0 again in my computer, just for having this tool working again.

Any plans on adding support for .NET 5 or .NET 6 (already available) to this tool anytime soon?

@lonix1
Copy link

lonix1 commented May 4, 2022

@madskristensen Any plans for .NET 6 support?

I see the changes were approved above, are there blockers? Would be nice for this to be pushed to nuget.

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.

9 participants