GitPackage 0.6.0

dotnet add package GitPackage --version 0.6.0
                    
NuGet\Install-Package GitPackage -Version 0.6.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="GitPackage" Version="0.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GitPackage" Version="0.6.0" />
                    
Directory.Packages.props
<PackageReference Include="GitPackage" />
                    
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 GitPackage --version 0.6.0
                    
#r "nuget: GitPackage, 0.6.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.
#:package GitPackage@0.6.0
                    
#: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=GitPackage&version=0.6.0
                    
Install as a Cake Addin
#tool nuget:?package=GitPackage&version=0.6.0
                    
Install as a Cake Tool

Tooling to include raw files from git repositories via CLI and MSBuild.

See Docs for more info.

GitPackage

MSBuild wrapper around git-get src/nuget to include git source files in a project

Basic usage

<ItemGroup>
 <PackageReference Include="GitPackage" Version="0.6.0" />
</ItemGroup>

<ItemGroup>
  
  <GitPackage Include="Gitpackage/doc"
    Origin  = "https://github.com/Dkowald/kwld.GitPackage.git"
    Version = 'branch/main'
    Filter  = '/*.md,doc/**/*.md'
    Ignore  =  'release.md'
    GetRoot = 'doc/' >
    
    

    
    
    
  </GitPackage>
</ItemGroup>

Aditional options

<PropertyGroup>
   
  
  <GitPackage-UpdateOnRebuild>true</GitPackage-UpdateOnRebuild>

  
  <GitPackage-Tool>dotnet tool git-get</GitPackage-Tool>

  
  <GitPackage-CachePath>c:/.gitpackage</GitPackage-CachePath>

  
  <!- (c)ritical (e)rror (w)arn (i)nfo (d)ebug (t)race ->
  <GitPackage-LogLevel>d</GitPackage-LogLevel>

  
  <GitPackage-DesignTimeBuild>true</GitPackage-DesignTimeBuild>
</PropertyGroup>
</ItemGroup>
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has 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
0.6.0 151 11/1/2024
0.6.0-preview3 111 10/25/2024
0.6.0-preview2 115 10/24/2024
0.6.0-preview1 168 8/19/2024
0.5.0 766 10/14/2019
0.4.0 792 1/9/2019
0.3.0 762 12/10/2018
0.2.0 842 11/18/2018
0.1.0 1,040 11/2/2018

Reboot