MakeGenericAgain 1.0.2
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global MakeGenericAgain --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local MakeGenericAgain --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MakeGenericAgain&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package MakeGenericAgain --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MakeGenericAgain
Problem is that nswag client code generation from open api specification or swagger generates classes without generics. This tool can be used afterwards to make classes generic again
To install it on other projects, add this to the csproj:
<ItemGroup>
<PackageReference Include="nksoft.MakeGenericAgain" Version="1.0.0" />
</ItemGroup>
<ItemGroup>
<DotNetCliToolReference Include="nksoft.MakeGenericAgain" Version="1.0.0" />
</ItemGroup>
To run int use
MakeGenericAgain.exe -f "C:\Path\client.cs"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.