TailwindBuild 1.3.2

dotnet add package TailwindBuild --version 1.3.2
                    
NuGet\Install-Package TailwindBuild -Version 1.3.2
                    
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="TailwindBuild" Version="1.3.2">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TailwindBuild" Version="1.3.2" />
                    
Directory.Packages.props
<PackageReference Include="TailwindBuild">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TailwindBuild --version 1.3.2
                    
#r "nuget: TailwindBuild, 1.3.2"
                    
#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.
#:package TailwindBuild@1.3.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TailwindBuild&version=1.3.2
                    
Install as a Cake Addin
#tool nuget:?package=TailwindBuild&version=1.3.2
                    
Install as a Cake Tool

TailwindBuild

TailwindBuild is designed to integrate with MSBuild to allow for the usage of Tailwind within projects without needing to use npm.

Currently we only work for Tailwind >=4.0.0 and < 5.x.x

Getting Started

dontet add package TailwindBuild

Properties

MSBuild Property Name Default Value Description
TailwindVersion latest The version tag of the tailwind release to use.
TailwindInstallPath $(MSBuildThisFileDirectory)..\cli\ The directory where the tailwindcss cli should be located.
TailwindWorkingDir $(MSBuildProjectDirectory)\ The directory which will be used as the working dir for tailwind.
TailwindInputFile tailwind.css The name of the input css file.
TailwindOutputFile $(MSBuildProjectDirectory)\wwwroot\css\output.css The path where the output css file will be located.
TailwindMinify false for Debug builds, true for Release builds Whether the generated css should be minified or not.
TailwindWatch false (Will only work during a dotnet watch build) Watch for changes.
TailwindGithubAuthToken `` (Optional) Used to authenticate against the GitHub api to prevent rate limiting.

Tips

  • When using Rider the Jetbrains Language server will not work if a package.json containing tailwlindcss as a dependency cannot be found. It is recommended to create a simple package.json as a workaround
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • net9.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
1.3.2 191 6/30/2025
1.3.1 178 6/30/2025
1.3.0 177 6/25/2025
1.2.0 168 6/25/2025
1.0.0 178 6/25/2025