mtmk.dummy
3.0.2
dotnet add package mtmk.dummy --version 3.0.2
NuGet\Install-Package mtmk.dummy -Version 3.0.2
<PackageReference Include="mtmk.dummy" Version="3.0.2" />
paket add mtmk.dummy --version 3.0.2
#r "nuget: mtmk.dummy, 3.0.2"
// Install mtmk.dummy as a Cake Addin #addin nuget:?package=mtmk.dummy&version=3.0.2 // Install mtmk.dummy as a Cake Tool #tool nuget:?package=mtmk.dummy&version=3.0.2
mtmk.dummy 3.0.x
An example GitHub repository showing how a dotnet library can be published to nuget
by maintaining a version.txt
file and using git tags and GitHub actions.
MSBuild and NuGet version options
What determines your package version for NuGet is the <PackageVersion>
element.
Your DLLs file and assembly version as well as the product version is determined by
the <Version>
element in your project's properties.
Here we drive both of these values using the version.txt
file.
Packaging using GitHub Actions
We use the 'publish.yml' workflow to publish to NuGet. You would need to set you Nuget API
in you GitHub repository Action secrets with name NUGET_API_KEY
. You also need to
give workflows write access so that publish
workflow can create tags as the packages
are published to NuGet.
Currently publish
workflow is set to be run manually by using workflow_dispatch
trigger.
You can set this to be triggered on push as well safely, since NuGet publish would only happen on
changes to version.txt
file as long as the version doesn't match any existing tags.
Targeting multiple frameworks
You can target multiple frameworks by adding multiple <TargetFramework>
elements in your
project file. You can also use TargetFrameworks
element to specify multiple frameworks
separated by semicolon. You can also use wildcards in your framework names.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
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 |
---|
This is a dummy release.