dosymep.Nuke.RevitVersions 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package dosymep.Nuke.RevitVersions --version 1.0.0
NuGet\Install-Package dosymep.Nuke.RevitVersions -Version 1.0.0
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="dosymep.Nuke.RevitVersions" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add dosymep.Nuke.RevitVersions --version 1.0.0
#r "nuget: dosymep.Nuke.RevitVersions, 1.0.0"
#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 dosymep.Nuke.RevitVersions as a Cake Addin
#addin nuget:?package=dosymep.Nuke.RevitVersions&version=1.0.0

// Install dosymep.Nuke.RevitVersions as a Cake Tool
#tool nuget:?package=dosymep.Nuke.RevitVersions&version=1.0.0

dosymep.Nuke.RevitVersions

JetBrains Rider License MIT Revit 2016-2024

This package contains Autodesk Revit versions configurations.

Usage

/// <summary>
/// Min Revit version.
/// </summary>
[Parameter("Min Revit version.")] readonly RevitVersion MinVersion = RevitVersion.Rv2016;

/// <summary>
/// Max Revit version.
/// </summary>
[Parameter("Max Revit version.")] readonly RevitVersion MaxVersion = RevitVersion.Rv2024;
    
DotNetBuild(s => s
    .EnableForce()
    .DisableNoRestore()
    .SetProjectFile(<ProjectName>)
    .SetConfiguration(<Configuration>)
    .When(IsServerBuild, _ => _
        .EnableContinuousIntegrationBuild())
    // HACK: enable restore to set TargetFramework property
    .SetProcessArgumentConfigurator(a => a.Add("--restore"))
    .CombineWith(RevitVersion.GetRevitVersions(), (settings, version) => {
        return settings
            .SetOutputDirectory(OutputDirectory / version)
            .SetProperty("RevitVersion", (int) version)
            .SetProperty("TargetFramework", version.TargetFramework);
    }));
Product Compatible and additional computed target framework versions.
.NET 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 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. 
Compatible target framework(s)
Included target framework(s) (in 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
2.0.1 73 4/11/2024
2.0.0 64 4/11/2024
1.0.0 321 11/7/2023