UpgradeAssistant.Extension.ForceTFM 1.0.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package UpgradeAssistant.Extension.ForceTFM --version 1.0.7                
NuGet\Install-Package UpgradeAssistant.Extension.ForceTFM -Version 1.0.7                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="UpgradeAssistant.Extension.ForceTFM" Version="1.0.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UpgradeAssistant.Extension.ForceTFM --version 1.0.7                
#r "nuget: UpgradeAssistant.Extension.ForceTFM, 1.0.7"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install UpgradeAssistant.Extension.ForceTFM as a Cake Addin
#addin nuget:?package=UpgradeAssistant.Extension.ForceTFM&version=1.0.7

// Install UpgradeAssistant.Extension.ForceTFM as a Cake Tool
#tool nuget:?package=UpgradeAssistant.Extension.ForceTFM&version=1.0.7                

UpgradeAssistant.Extension.ForceTFM

.NET Upgrade Assistant extension for forcing all assemblies to selected target framework.

Overview

This extension is created by using Upgrade Assistants extension system.

This extension forces Upgrade Assistant to target the same framework for all assemblies instead of, for instance, Class Libraries targeting .netstandard2.0 after upgrade.

Note that upon adding this extension to Upgrade Assistant, the behavior of the tool already changes.

Similarly to the Upgrade Assistant, this extension allows you to specify TFM with one of three values:

  • Current
  • LTS
  • Preview

Currently the default value for this extension is LTS.

Also like the Upgrade Assistant, all of these values currently point to .net6.0

If you wish to force all frameworks to something else then there is a way for that.

Usage

Prerequisites

Make sure the Upgrade Assistant itself runs.

Upgrade Path

NuGet can be added to the Upgrade Assistant via upgrade-assistant extensions add UpgradeAssistant.Extension.ForceTFM. Upgrade Assistant running path will remain the same.

Extension can be removed via upgrade-assistant extensions remove UpgradeAssistant.Extension.ForceTFM

Cloned repository can be added as an extension via adding --extension [path to dir containing ExtensionManifest] to the Upgrade Assistants running path.

Choosing TFM

By default the extension targets LTS. If you wish to change that you can add --option "ForceTFM:TFM=[VALUE]" to the running path.

For example --option "ForceTFM:TFM=Current"

Change the value of Current, LTS or Preview

If you wish to change the framework that the pointers point at you can add --option "TFMOptionMap:[Pointer]=[VALUE]" to the running path.

For example --option "TFMOptionMap:Preview=.net7.0".

Author

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.8 2,024 5/9/2022
1.0.7 1,929 4/12/2022