MessagePack.MSBuild.SourceGenerator.Tasks
1.2.1
dotnet add package MessagePack.MSBuild.SourceGenerator.Tasks --version 1.2.1
NuGet\Install-Package MessagePack.MSBuild.SourceGenerator.Tasks -Version 1.2.1
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="MessagePack.MSBuild.SourceGenerator.Tasks" Version="1.2.1"> <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="MessagePack.MSBuild.SourceGenerator.Tasks" Version="1.2.1" />
<PackageReference Include="MessagePack.MSBuild.SourceGenerator.Tasks"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
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 MessagePack.MSBuild.SourceGenerator.Tasks --version 1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MessagePack.MSBuild.SourceGenerator.Tasks, 1.2.1"
#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.
#addin nuget:?package=MessagePack.MSBuild.SourceGenerator.Tasks&version=1.2.1
#tool nuget:?package=MessagePack.MSBuild.SourceGenerator.Tasks&version=1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MessagePack.MSBuild.SourceGenerator.Tasks
MessagePack.MSBuild.Tasks extensions for C# Source Generator.
You will be able to use C# Source Generator and MessagePack.MSBuild.Tasks at the same time.
Usage
YourProject.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<GeneratedFilesOutputPath>GeneratedFiles</GeneratedFilesOutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MessagePack" Version="2.3.112" />
<PackageReference Include="MessagePack.MSBuild.SourceGenerator.Tasks" Version="1.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="MessagePack.MSBuild.Tasks" Version="2.3.112">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="MessagePackAnalyzer" Version="2.3.112">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Update="MessagePack.MSBuild.Tasks" ExcludeAssets="build" GeneratePathProperty="true" />
</ItemGroup>
</Project>
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- HarmonicGenerator (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.