![]() |
VOOZH | about |
dotnet add package MSBuild.CompilerCache --version 0.13.7
NuGet\Install-Package MSBuild.CompilerCache -Version 0.13.7
<PackageReference Include="MSBuild.CompilerCache" Version="0.13.7" />
<PackageVersion Include="MSBuild.CompilerCache" Version="0.13.7" />Directory.Packages.props
<PackageReference Include="MSBuild.CompilerCache" />Project file
paket add MSBuild.CompilerCache --version 0.13.7
#r "nuget: MSBuild.CompilerCache, 0.13.7"
#:package MSBuild.CompilerCache@0.13.7
#addin nuget:?package=MSBuild.CompilerCache&version=0.13.7Install as a Cake Addin
#tool nuget:?package=MSBuild.CompilerCache&version=0.13.7Install as a Cake Tool
MSBuild.CompilerCache is a package that provides machine-wide or distributed caching of C# and F# project compilation.
It extends the CoreCompile targets from the .NET SDK with caching steps and uses custom MSBuild tasks that perform the actual caching.
Csc or Fsc task is invoked, we calculate a hash of all the relevant compilation inputs.⚠️ The project is in an experimental phase. It is known to have issues, like limited debugging ability and potential incorrect cache hits. Please keep that in mind before using.
To use the cache, add the following to your project file (or Directory.Build.props in your directory structure):
<PropertyGroup>
<CompilationCacheConfigPath>c:/accessible/filesystem/location/compilation_cache_config.json</CompilationCacheConfigPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MSBuild.CompilerCache" PrivateAssets="all" />
</ItemGroup>
and create a config file like the one below:
{
"CacheDir": "c:/compilation_cache"
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.13.7 | 432 | 8/12/2023 |
| 0.12.7 | 396 | 6/11/2023 |
| 0.12.6 | 371 | 6/11/2023 |
| 0.12.5 | 383 | 6/11/2023 |
| 0.12.3 | 339 | 6/11/2023 |
| 0.11.16 | 391 | 6/7/2023 |
| 0.10.6 | 349 | 5/29/2023 |
| 0.10.5 | 326 | 5/27/2023 |
| 0.9.6 | 371 | 5/24/2023 |
| 0.9.5 | 323 | 5/23/2023 |
| 0.9.4 | 330 | 5/23/2023 |
| 0.8.5 | 374 | 5/21/2023 |
| 0.7.4 | 340 | 5/12/2023 |
| 0.6.4 | 422 | 5/11/2023 |
| 0.5.5 | 402 | 5/11/2023 |
| 0.4.6 | 367 | 4/20/2023 |
| 0.3.4 | 417 | 4/19/2023 |
| 0.2.1 | 371 | 4/14/2023 |
| 0.0.2 | 383 | 3/29/2023 |